Update tokio-tungstenite to 0.19 (#2021)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Alex Butler · committed by GitHub · parent 8016e78 · Browse files · 8 files·+9 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
Diff stats
8 files+9 added−9 removed
- other:+9 added−9 removed
Provenance
- Commit
26daec2- Tree
055cb33- Author
Alex Butler <alexheretic@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
8016e78
8 files changed+9 added−9 removed
modified:.github/workflows/CI.yml+1 added-1 removed
1 name: CI2 3 env:4 CARGO_TERM_COLOR: always5- MSRV: '1.60'5+ MSRV: '1.63'6 7 on:8 push:9 branches:210 unmodified linesmodified:axum/Cargo.toml+2 added-2 removed
2 unmodified lines3 version = "0.6.16"4 categories = ["asynchronous", "network-programming", "web-programming::http-server"]5 description = "Web framework that focuses on ergonomics and modularity"6 edition = "2021"7-rust-version = "1.60"7+rust-version = "1.63"8 homepage = "https://github.com/tokio-rs/axum"9 keywords = ["http", "web", "framework"]10 license = "MIT"11 readme = "README.md"51 unmodified lines63 serde_path_to_error = { version = "0.1.8", optional = true }64 serde_urlencoded = { version = "0.7", optional = true }65 sha1 = { version = "0.10", optional = true }66 tokio = { package = "tokio", version = "1.25.0", features = ["time"], optional = true }67-tokio-tungstenite = { version = "0.18.0", optional = true }67+tokio-tungstenite = { version = "0.19", optional = true }68 tracing = { version = "0.1", default-features = false, optional = true }69 70 [dependencies.tower-http]71 version = "0.4"131 unmodified linesmodified:axum/README.md+1 added-1 removed
110 unmodified linesExpand all11111211311411511511611711811943 unmodified lines110 unmodified linesExpand all100% safe Rust.
## Minimum supported Rust version
axum's MSRV is 1.60.axum's MSRV is 1.63.
## Examples
The [examples] folder contains various examples of how to use `axum`. The43 unmodified linesmodified:axum-extra/Cargo.toml+1 added-1 removed
1 [package]2 categories = ["asynchronous", "network-programming", "web-programming"]3 description = "Extra utilities for axum"4 edition = "2021"5-rust-version = "1.60"5+rust-version = "1.63"6 homepage = "https://github.com/tokio-rs/axum"7 keywords = ["http", "web", "framework"]8 license = "MIT"9 name = "axum-extra"91 unmodified linesmodified:axum-extra/README.md+1 added-1 removed
12 unmodified lines13 This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in 100% safe Rust.14 15 ## Minimum supported Rust version16 17-axum-extra's MSRV is 1.60.17+axum-extra's MSRV is 1.63.18 19 ## Getting Help20 21 You're also welcome to ask in the [Discord channel][chat] or open an [issue]24 unmodified linesmodified:axum-macros/README.md+1 added-1 removed
12 unmodified lines13 This crate uses `#![forbid(unsafe_code)]` to ensure everything is implemented in 100% safe Rust.14 15 ## Minimum supported Rust version16 17-axum-macros's MSRV is 1.60.17+axum-macros's MSRV is 1.63.18 19 ## Getting Help20 21 You're also welcome to ask in the [Discord channel][chat] or open an [issue]24 unmodified linesmodified:examples/testing-websockets/Cargo.toml+1 added-1 removed
7 unmodified lines89101112127 unmodified linesaxum = { path = "../../axum", features = ["ws"] }futures = "0.3"hyper = { version = "0.14", features = ["full"] }tokio = { version = "1.0", features = ["full"] }tokio-tungstenite = "0.17"tokio-tungstenite = "0.19"modified:examples/websockets/Cargo.toml+1 added-1 removed
9 unmodified lines10 futures = "0.3"11 futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] }12 headers = "0.3"13 tokio = { version = "1.0", features = ["full"] }14-tokio-tungstenite = "0.18.0"14+tokio-tungstenite = "0.19"15 tower = { version = "0.4", features = ["util"] }16 tower-http = { version = "0.4.0", features = ["fs", "trace"] }17 tracing = "0.1"18 tracing-subscriber = { version = "0.3", features = ["env-filter"] }8 unmodified lines