Skip to content

Commit aef31e8

Browse files
committed
Use new versions of bp3d-debug and bp3d-os
1 parent 03b9be5 commit aef31e8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ publish = false
1515

1616
[dependencies]
1717
bp3d-util = { version = "2.2.0", features = ["simple-error", "format", "string"] }
18-
bp3d-debug = "1.0.0-rc.6.2.0"
19-
bp3d-os = { version = "1.0.0-rc.4.6.0", features = [], optional = true }
18+
bp3d-debug = "1.0.0"
19+
bp3d-os = { version = "1.0.1", features = [], optional = true }
2020
time = { version = "0.3.41", features = ["formatting"], optional = true }
2121
itertools = { version = "0.14.0" }
2222
bp3d-lua-codegen = { version = "1.0.0-rc.1.0.0", path = "../codegen", optional = true }

core/src/util/module.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,8 +206,11 @@ impl ModuleManager {
206206

207207
pub fn new(builtins: &'static [&'static VirtualLibrary]) -> Self {
208208
let mut loader = ModuleLoader::new(builtins);
209-
loader.add_public_dependency("bp3d-lua", VERSION);
210-
loader.add_public_dependency("time", TIME_VERSION);
209+
#[cfg(feature = "send")]
210+
loader.add_public_dependency("bp3d-lua", VERSION, ["send"]);
211+
#[cfg(not(feature = "send"))]
212+
loader.add_public_dependency("bp3d-lua", VERSION, ["-send"]);
213+
loader.add_public_dependency("time", TIME_VERSION, ["*"]);
211214
Self {
212215
set: Default::default(),
213216
loader,

0 commit comments

Comments
 (0)