Skip to content

Commit

Permalink
chore(rumqttc): Update rustls and friends.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor committed Feb 9, 2024
1 parent c719181 commit 4eafa5f
Show file tree
Hide file tree
Showing 7 changed files with 205 additions and 71 deletions.
196 changes: 170 additions & 26 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions rumqttc/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ To update your code simply remove `Key::ECC()` or `Key::RSA()` from the initiali
- Make v5 `RetainForwardRule` public, in order to allow setting it when constructing `Filter` values.
- Use `VecDeque` instead of `IntoIter` to fix unintentional drop of pending requests on `EventLoop::clean` (#780)
- `StateError::IncommingPacketTooLarge` is now `StateError::IncomingPacketTooLarge`.
- Update `rustls` to `0.22.2`, `tokio-rustls` to `0.25.0`, `rustls-native-certs` to `0.7.0`,
`rustls-webpki` to `0.102.1` and `rust-pemfile` to `2.0.0`. This is a breaking change as types
from some of these crates are part of the public API.

### Deprecated

Expand Down
16 changes: 8 additions & 8 deletions rumqttc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ futures-util = { version = "0.3", default_features = false, features = ["std"] }
tokio = { version = "1.33", features = ["rt", "macros", "io-util", "net", "time"] }
bytes = "1.5"
log = "0.4"
flume = { version = "0.11", default-features = false, features = ["async"]}
flume = { version = "0.11", default-features = false, features = ["async"] }
thiserror = "1"

# Optional
# rustls
tokio-rustls = { version = "0.24", optional = true }
rustls-webpki = { version = "0.101.6", optional = true }
rustls-pemfile = { version = "1", optional = true }
rustls-native-certs = { version = "0.6", optional = true }
tokio-rustls = { version = "0.25.0", optional = true }
rustls-webpki = { version = "0.102.1", optional = true }
rustls-pemfile = { version = "2.0.0", optional = true }
rustls-native-certs = { version = "0.7.0", optional = true }
# websockets
async-tungstenite = { version = "0.23", default-features = false, features = ["tokio-rustls-native-certs"], optional = true }
ws_stream_tungstenite = { version= "0.11", default-features = false, features = ["tokio_io"], optional = true }
http = { version = "0.2", optional = true }
async-tungstenite = { version = "0.25.0", default-features = false, features = ["tokio-rustls-native-certs"], optional = true }
ws_stream_tungstenite = { version= "0.12.0", default-features = false, features = ["tokio_io"], optional = true }
http = { version = "1.0.0", optional = true }
# native-tls
tokio-native-tls = { version = "0.3.1", optional = true }
native-tls = { version = "0.2.11", optional = true }
Expand Down
Loading

0 comments on commit 4eafa5f

Please sign in to comment.