Skip to content

Commit

Permalink
fix: dependencies on tokio-rt
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghamza-Jd committed Nov 7, 2024
1 parent 4187ee3 commit 62d0bd3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions jarust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repository.workspace = true
doctest = false

[dependencies]
jarust_core = { version = "0.8.0", path = "../jarust_core" }
jarust_core = { version = "0.8.0", path = "../jarust_core", default-features = false }
jarust_interface = { version = "0.8.0", path = "../jarust_interface", default-features = false }
jarust_plugins = { version = "0.8.0", path = "../jarust_plugins", default-features = false }

Expand Down Expand Up @@ -47,4 +47,3 @@ serde.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracing.workspace = true
jarust_plugins = { version = "0.8.0", path = "../jarust_plugins" }
4 changes: 2 additions & 2 deletions jarust_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doctest = false

[dependencies]
async-trait.workspace = true
jarust_interface = { version = "0.8.0", path = "../jarust_interface" }
jarust_interface = { version = "0.8.0", path = "../jarust_interface", default-features = false }
jarust_rt = { version = "0.8.0", path = "../jarust_rt", default-features = false }
serde_json.workspace = true
serde.workspace = true
Expand All @@ -24,7 +24,7 @@ tracing.workspace = true

[features]
default = ["tokio-rt"]
tokio-rt = ["jarust_rt/tokio-rt"]
tokio-rt = ["jarust_rt/tokio-rt", "jarust_interface/tokio-rt"]

[dev-dependencies]
anyhow = "1.0.93"
Expand Down
10 changes: 7 additions & 3 deletions jarust_plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ doctest = false

[dependencies]
async-trait.workspace = true
jarust_core = { version = "0.8.0", path = "../jarust_core" }
jarust_interface = { version = "0.8.0", path = "../jarust_interface" }
jarust_core = { version = "0.8.0", path = "../jarust_core", default-features = false }
jarust_interface = { version = "0.8.0", path = "../jarust_interface", default-features = false }
jarust_rt = { version = "0.8.0", path = "../jarust_rt", default-features = false }
paste = "1.0.15"
serde_json.workspace = true
Expand All @@ -26,7 +26,11 @@ tracing.workspace = true

[features]
default = ["tokio-rt", "echo_test", "audio_bridge", "video_room", "streaming"]
tokio-rt = ["jarust_rt/tokio-rt"]
tokio-rt = [
"jarust_rt/tokio-rt",
"jarust_interface/tokio-rt",
"jarust_core/tokio-rt",
]
echo_test = []
audio_bridge = []
video_room = []
Expand Down

0 comments on commit 62d0bd3

Please sign in to comment.