Skip to content

Commit

Permalink
Move dependencies top level (#6)
Browse files Browse the repository at this point in the history
* Camel Case intoEncoding

* Plugin Deps top level
  • Loading branch information
Charles-Schleich authored Oct 30, 2024
1 parent ebbb056 commit 7f6d884
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 25 deletions.
37 changes: 37 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,40 @@ edition = "2021"
license = "EPL-2.0 OR Apache-2.0"
categories = ["network-programming", "database"]
description = "Remote API Plugin for Zenoh using Websockets"

[workspace.dependencies]
tokio = { version = "1.39.2", features = ["full"] }
tokio-tungstenite = "0.23.1"
tokio-rustls = { version = "0.26.0", default-features = false }
futures-util = "0.3.26"
rustls-pemfile = "2.1.2"
base64 = "0.22.1"
flume = "0.11"
futures = "0.3.5"
git-version = "0.3.5"
lazy_static = "1.4.0"
ts-rs = { version = "9.0", features = [
"serde-compat",
"uuid-impl",
"serde-json-impl",
"no-serde-warnings",
] }
tracing = "0.1"
schemars = { version = "0.8.12", features = ["either"] }
serde = { version = "1.0.154", default-features = false, features = [
"derive",
] } # Default features are disabled due to usage in no_std crates
serde_json = "1.0.114"
zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = [
"plugins",
], version = "1.0.0-dev" }
zenoh-ext = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh_backend_traits = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-plugin-trait = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-util = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-result = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
uuid = { version = "1.3.0", default-features = false, features = [
"v4",
"serde",
] }
uhlc = { version = "0.8.0", default-features = false } # Default features are disabled due to usage in no_std crates
48 changes: 23 additions & 25 deletions zenoh-plugin-remote-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,41 +41,39 @@ name = "zenoh_plugin_remote_api"
crate-type = ["cdylib", "rlib"]

[dependencies]
tokio = { version = "1.39.2", features = ["full"] }
tokio-tungstenite = "0.23.1"
tokio-rustls = { version = "0.26.0", default-features = false }
futures-util = "0.3.26"
rustls-pemfile = "2.1.2"
base64 = "0.22.1"
flume = "0.11"
futures = "0.3.5"
git-version = "0.3.5"
lazy_static = "1.4.0"
ts-rs = { version = "9.0", features = [
tokio = { workspace = true }
tokio-tungstenite = { workspace = true }
tokio-rustls = { workspace = true }
futures-util = { workspace = true }
rustls-pemfile = { workspace = true }
base64 = { workspace = true }
flume = { workspace = true }
futures = { workspace = true }
git-version = { workspace = true }
lazy_static = { workspace = true }
ts-rs = { workspace = true, features = [
"serde-compat",
"uuid-impl",
"serde-json-impl",
"no-serde-warnings",
] }
tracing = "0.1"
schemars = { version = "0.8.12", features = ["either"] }
serde = { version = "1.0.154", default-features = false, features = [
tracing = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true, default-features = false, features = [
"derive",
] } # Default features are disabled due to usage in no_std crates
serde_json = "1.0.114"
zenoh = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = [
"plugins",
], version = "1.0.0-dev" }
zenoh-ext = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh_backend_traits = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-plugin-trait = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-util = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
zenoh-result = { git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", version = "1.0.0-dev" }
uuid = { version = "1.3.0", default-features = false, features = [
serde_json = { workspace = true }
zenoh = { workspace = true, features = ["plugins"] }
zenoh-ext = { workspace = true }
zenoh_backend_traits = { workspace = true }
zenoh-plugin-trait = { workspace = true }
zenoh-util = { workspace = true }
zenoh-result = { workspace = true }
uuid = { workspace=true, default-features = false, features = [
"v4",
"serde",
] }
uhlc = { version = "0.8.0", default-features = false } # Default features are disabled due to usage in no_std crates
uhlc = { workspace=true, default-features = false } # Default features are disabled due to usage in no_std crates

[build-dependencies]
rustc_version = "0.4.0"
Expand Down

0 comments on commit 7f6d884

Please sign in to comment.