diff --git a/Cargo.lock b/Cargo.lock index 9ff8628..8fbcd21 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -639,6 +639,7 @@ version = "0.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a5cd3b24a5adb7c7378da7b3eea47639877643d11b6b087fc8a8094f2528615" dependencies = [ + "bevy_dylib", "bevy_internal", ] @@ -857,6 +858,15 @@ dependencies = [ "sysinfo", ] +[[package]] +name = "bevy_dylib" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "843c7ce266dfc46e49d01fbf9aa1829d33b70a1859b9ed6a526ac03070c52e97" +dependencies = [ + "bevy_internal", +] + [[package]] name = "bevy_ecs" version = "0.16.0" diff --git a/Cargo.toml b/Cargo.toml index 151bf04..11df28b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,17 @@ edition = "2024" [dependencies] anise = "0.5.4" -bevy = "0.16.0" hifitime = "4.0.2" log = { version = "0.4.27", features = ["std"] } nyx-space = "2.1.0" + +[dependencies.bevy] +version = "*" +features = ["dynamic_linking"] + +[profile.dev] +opt-level = 1 + +# Enable a large amount of optimization in the dev profile for dependencies. +[profile.dev.package."*"] +opt-level = 3