Skip to content

Commit

Permalink
Tidying dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jasta committed Jul 30, 2023
1 parent b1c2390 commit dc5a33c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
6 changes: 0 additions & 6 deletions coap-server-tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,13 @@ edition = "2021"
[dependencies]
coap-server = { path = "../coap-server" }
tokio = { version = "1.17.0", features = ["rt", "macros", "net"] }
tokio-stream = "0.1.8"
tokio-util = { version = "0.7.0", features = ["codec", "net"] }
bytes = { version = "1.1.0", default-features = false }
futures = { version = "0.3.21", default-features = false }
async-trait = "0.1.53"
pin-project = "1.0.10"
dyn-clone = "1.0.5"
anyhow = { version = "1.0.56", default-features = false }
thiserror-no-std = { version = "2.0.2", default-features = false }
log = "0.4.16"
coap-lite = { version = "0.9.0", default-features = false }
rand = { version = "0.8.5", features = [ "alloc" ] }
hashbrown = "0.14.0"

[dev-dependencies]
async-stream = "0.3.3"
Expand Down
5 changes: 1 addition & 4 deletions coap-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@ edition = "2021"
[features]
default = ["std"]
# TODO: currently required to use std!
std = ["rand/std", "rand/std_rng", "anyhow/std", "coap-lite/std", "bytes/std", "futures/std"]
std = ["rand/std", "rand/std_rng", "anyhow/std", "coap-lite/std", "futures/std"]

[dependencies]
tokio = { version = "1.17.0", features = ["rt", "macros"] }
tokio-stream = "0.1.8"
tokio-util = { version = "0.7.0", features = ["codec"] }
bytes = { version = "1.1.0", default-features = false }
futures = { version = "0.3.21", default-features = false }
async-trait = "0.1.53"
pin-project = "1.0.10"
dyn-clone = "1.0.5"
anyhow = { version = "1.0.56", default-features = false }
thiserror-no-std = { version = "2.0.2", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "examples-tokio"
name = "examples"
version = "0.0.0"
authors = ["Josh Guilfoyle <jasta@devtcg.org>"]
edition = "2021"
Expand Down

0 comments on commit dc5a33c

Please sign in to comment.