Skip to content

Commit

Permalink
Changed to smol 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Nereuxofficial committed Mar 2, 2023
1 parent c155a65 commit f55dd46
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ keywords = [ "MQTT", "IoT", "MQTTv5", "messaging", "client" ]
description = "Pure rust MQTTv5 client implementation for Smol, Tokio and soon sync too."

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[patch.crates-io]
smol = { git = "https://github.com/esp-rs-compat/smol" }
polling = { git = "https://github.com/esp-rs-compat/polling" }
socket2 = { git = "https://github.com/esp-rs-compat/socket2" }
getrandom = { version = "0.2", git = "https://github.com/esp-rs-compat/getrandom.git" }
#getrandom1 = { version = "0.1", git = "https://github.com/esp-rs-compat/getrandom.git", package = "getrandom", branch = "0.1" }
embedded-io = { git = "https://github.com/ivmarkov/embedded-io" }

[features]
default = ["smol", "tokio"]
Expand Down Expand Up @@ -39,12 +46,12 @@ async-trait = "0.1.61"
tokio = { version = "1.24.1", features = ["macros", "io-util", "net", "time"], optional = true }

# smol feature flag
smol = { git = "https://github.com/esp-rs-compat/smol", optional = true }
smol = { version = "1.2.5", optional = true }

[dev-dependencies]
pretty_assertions = "1.3.0"
tokio = { version = "1.24.1", features = ["rt-multi-thread", "rt", "macros", "sync", "io-util", "net", "time"] }
smol = { git = "https://github.com/esp-rs-compat/smol" }
smol = "1.2.5"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }

rustls = { version = "0.20.7" }
Expand Down

0 comments on commit f55dd46

Please sign in to comment.