Skip to content

Commit

Permalink
fix: Remove unused dependencies (eclipse-zenoh#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz authored and jerry73204 committed Mar 6, 2024
1 parent c4b4335 commit 2740548
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 126 deletions.
100 changes: 0 additions & 100 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ tide = "0.16.0"
token-cell = { version = "1.4.2", default-features = false }
tokio = { version = "1.26.0", default-features = false } # Default features are disabled due to some crates' requirements
tokio-tungstenite = "0.20"
typenum = "1.16.0"
uhlc = { version = "0.6.0", default-features = false } # Default features are disabled due to usage in no_std crates
unzip-n = "0.1.2"
url = "2.3.1"
Expand Down
1 change: 0 additions & 1 deletion commons/zenoh-codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ zenoh-shm = { workspace = true, optional = true }
criterion = { workspace = true }
env_logger = { workspace = true }
rand = { workspace = true, features = ["default"] }
uuid = { workspace = true, features = ["default"] }
zenoh-protocol = { workspace = true, features = ["test"] }

[[bench]]
Expand Down
2 changes: 0 additions & 2 deletions commons/zenoh-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ description = "Internal crate for zenoh."
[dependencies]
proc-macro2 = { workspace = true }
quote = { workspace = true }
rustc_version = { workspace = true }
syn = { workspace = true, features = ["full"] }
unzip-n = { workspace = true }
zenoh-keyexpr = { workspace = true, features = ["std"] }

[lib]
Expand Down
4 changes: 0 additions & 4 deletions commons/zenoh-protocol/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ description = "Internal crate for zenoh."
[features]
default = ["std"]
std = [
"hex/std",
"rand?/std",
"rand?/std_rng",
"serde/std",
"uhlc/std",
"uuid/std",
"zenoh-keyexpr/std",
"zenoh-result/std",
]
Expand All @@ -42,11 +40,9 @@ complete_n = []

[dependencies]
const_format = { workspace = true }
hex = { workspace = true, features = ["alloc"] }
rand = { workspace = true, features = ["alloc", "getrandom"], optional = true }
serde = { workspace = true, features = ["alloc"] }
uhlc = { workspace = true, default-features = false }
uuid = { workspace = true } # Needs a getrandom::getrandom() custom implementation on embedded (in root crate)
zenoh-buffers = { workspace = true, default-features = false }
zenoh-keyexpr = { workspace = true }
zenoh-result = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion commons/zenoh-shm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ description = "Internal crate for zenoh."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bincode = { workspace = true }
log = { workspace = true }
serde = { workspace = true, features = ["default"] }
shared_memory = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion commons/zenoh-sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ description = "Internal crate for zenoh."
[dependencies]
async-std = { workspace = true, features = ["default", "unstable"] }
event-listener = { workspace = true }
flume = { workspace = true }
futures = { workspace = true }
tokio = { workspace = true, features = ["default", "sync"] }
zenoh-buffers = { workspace = true }
Expand Down
6 changes: 0 additions & 6 deletions commons/zenoh-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,21 @@ default = ["std"]
[dependencies]
async-std = { workspace = true, features = ["default", "unstable"] }
async-trait = { workspace = true }
clap = { workspace = true }
const_format = { workspace = true }
flume = { workspace = true }
futures = { workspace = true }
hex = { workspace = true, features = ["default"] }
home = { workspace = true }
humantime = { workspace = true }
lazy_static = { workspace = true }
libloading = { workspace = true }
log = { workspace = true }
shellexpand = { workspace = true }
zenoh-core = { workspace = true }
zenoh-protocol = { workspace = true, features = ["default"] }
zenoh-result = { workspace = true, features = ["default"] }

[target.'cfg(windows)'.dependencies]
winapi = { workspace = true }

[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
pnet = { workspace = true }
pnet_datalink = { workspace = true }

[dev-dependencies]
2 changes: 0 additions & 2 deletions io/zenoh-link-commons/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@ async-std = { workspace = true }
zenoh-sync = { workspace = true }
async-trait = { workspace = true }
flume = { workspace = true }
lz4_flex = { workspace = true }
log = { workspace = true }
serde = { workspace = true, features = ["default"] }
typenum = { workspace = true }
zenoh-buffers = { workspace = true }
zenoh-codec = { workspace = true }
zenoh-core = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion io/zenoh-links/zenoh-link-serial/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ tokio = { workspace = true, features = ["io-std", "macros", "net", "rt-multi-thr
uuid = { workspace = true, default-features = true }
z-serial = { workspace = true }
zenoh-collections = { workspace = true }
zenoh-config = { workspace = true }
zenoh-core = { workspace = true }
zenoh-link-commons = { workspace = true }
zenoh-protocol = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion io/zenoh-transport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,4 @@ zenoh-util = { workspace = true }

[dev-dependencies]
env_logger = { workspace = true }
panic-message = { workspace = true }
zenoh-protocol = { workspace = true, features = ["test"] }
2 changes: 0 additions & 2 deletions plugins/zenoh-backend-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ crate-type = ["cdylib"]

[dependencies]
async-std = { workspace = true, features = ["default"] }
clap = { workspace = true }
const_format = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
git-version = { workspace = true }
log = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion plugins/zenoh-plugin-example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ crate-type = ["cdylib"]
[dependencies]
async-std = { workspace = true, features = ["default"] }
const_format = { workspace = true }
clap = { workspace = true }
env_logger = { workspace = true }
futures = { workspace = true }
git-version = { workspace = true }
Expand Down
Loading

0 comments on commit 2740548

Please sign in to comment.