diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 4b0c6b0bd..9c8ee4fc7 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -7,7 +7,7 @@ on: pull_request: {} env: - MSRV: 1.64.0 + MSRV: 1.63.0 jobs: check-stable: diff --git a/Cargo.toml b/Cargo.toml index bbea40253..b7d4757b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,23 +6,3 @@ members = [ "tower-service", "tower-test", ] - -[workspace.dependencies] -futures = "0.3.22" -futures-core = "0.3.22" -futures-util = { version = "0.3.22", default-features = false } -hdrhistogram = { version = "7.0", default-features = false } -http = "0.2" -indexmap = "2.0.2" -lazy_static = "1.4.0" -pin-project-lite = "0.2.7" -quickcheck = "1" -rand = "0.8" -slab = "0.4" -sync_wrapper = "0.1.1" -tokio = "1.6.2" -tokio-stream = "0.1.0" -tokio-test = "0.4" -tokio-util = { version = "0.7.0", default-features = false } -tracing = { version = "0.1.2", default-features = false } -tracing-subscriber = { version = "0.3", default-features = false } diff --git a/README.md b/README.md index c250b1cee..a0716a42f 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ pattern. If your protocol is entirely stream based, Tower may not be a good fit. Tower will keep a rolling MSRV (minimum supported Rust version) policy of **at least** 6 months. When increasing the MSRV, the new Rust version must have been -released at least six months ago. The current MSRV is 1.64.0. +released at least six months ago. The current MSRV is 1.63.0. ## Getting Started diff --git a/tower-service/Cargo.toml b/tower-service/Cargo.toml index 7f9be7399..9e9da023d 100644 --- a/tower-service/Cargo.toml +++ b/tower-service/Cargo.toml @@ -22,7 +22,7 @@ edition = "2018" [dependencies] [dev-dependencies] -http = { workspace = true } +http = "0.2" tower-layer = { version = "0.3", path = "../tower-layer" } -tokio = { workspace = true, features = ["macros", "time"] } -futures = { workspace = true } +tokio = { version = "1.6.2", features = ["macros", "time"] } +futures = "0.3.22" diff --git a/tower-test/Cargo.toml b/tower-test/Cargo.toml index 24c7d7e22..8f00b2530 100644 --- a/tower-test/Cargo.toml +++ b/tower-test/Cargo.toml @@ -20,12 +20,12 @@ categories = ["asynchronous", "network-programming"] edition = "2018" [dependencies] -futures-util = { workspace = true } -tokio = { workspace = true, features = ["sync"] } -tokio-test = { workspace = true } +futures-util = "0.3.22" +tokio = { version = "1.6.2", features = ["sync"] } +tokio-test = "0.4" tower-layer = { version = "0.3", path = "../tower-layer" } tower-service = { version = "0.3", path = "../tower-service" } -pin-project-lite = { workspace = true } +pin-project-lite = "0.2.7" [dev-dependencies] -tokio = { workspace = true, features = ["macros"] } +tokio = { version = "1.6.2", features = ["macros"] } diff --git a/tower/Cargo.toml b/tower/Cargo.toml index 6e810b3cb..d551fb7c8 100644 --- a/tower/Cargo.toml +++ b/tower/Cargo.toml @@ -17,7 +17,7 @@ clients and servers. categories = ["asynchronous", "network-programming"] keywords = ["io", "async", "non-blocking", "futures", "service"] edition = "2018" -rust-version = "1.64.0" +rust-version = "1.63.0" [features] @@ -65,32 +65,32 @@ util = ["__common", "futures-util", "pin-project-lite", "sync_wrapper"] tower-layer = { version = "0.3.3", path = "../tower-layer" } tower-service = { version = "0.3.3", path = "../tower-service" } -futures-core = { workspace = true, optional = true } -futures-util = { workspace = true, features = ["alloc"], optional = true } -hdrhistogram = { workspace = true, optional = true } -indexmap = { workspace = true, optional = true } -slab = { workspace = true, optional = true } -tokio = { workspace = true, features = ["sync"], optional = true } -tokio-stream = { workspace = true, optional = true } -tokio-util = { workspace = true, optional = true } -tracing = { workspace = true, features = ["std"], optional = true } -pin-project-lite = { workspace = true, optional = true } -sync_wrapper = { workspace = true, optional = true } +futures-core = { version = "0.3.22", optional = true } +futures-util = { version = "0.3.22", features = ["alloc"], optional = true } +hdrhistogram = { version = "7.0", default-features = false, optional = true } +indexmap = { version = "2.0.2", optional = true } +slab = { version = "0.4", optional = true } +tokio = { version = "1.6.2", features = ["sync"], optional = true } +tokio-stream = { version = "0.1.0", optional = true } +tokio-util = { version = "0.7.0", optional = true } +tracing = { version = "0.1.2", default-features = false, features = ["std"], optional = true } +pin-project-lite = { version = "0.2.7", optional = true } +sync_wrapper = { version = "0.1.1", optional = true } [dev-dependencies] -futures = { workspace = true } -hdrhistogram = { workspace = true } -pin-project-lite = { workspace = true } -tokio = { workspace = true, features = ["macros", "sync", "test-util", "rt-multi-thread"] } -tokio-stream = { workspace = true } -tokio-test = { workspace = true } +futures = "0.3.22" +hdrhistogram = { version = "7.0", default-features = false } +pin-project-lite = "0.2.7" +tokio = { version = "1.6.2", features = ["macros", "sync", "test-util", "rt-multi-thread"] } +tokio-stream = "0.1.0" +tokio-test = "0.4" tower-test = { version = "0.4", path = "../tower-test" } -tracing = { workspace = true, features = ["std"] } -tracing-subscriber = { workspace = true, features = ["fmt", "ansi"] } -http = { workspace = true } -lazy_static = { workspace = true } -rand = { workspace = true, features = ["small_rng"] } -quickcheck = { workspace = true } +tracing = { version = "0.1.2", default-features = false, features = ["std"] } +tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "ansi"] } +http = "0.2" +lazy_static = "1.4.0" +rand = { version = "0.8", features = ["small_rng"] } +quickcheck = "1" [package.metadata.docs.rs] all-features = true diff --git a/tower/README.md b/tower/README.md index fa9e208d6..bd7817d1d 100644 --- a/tower/README.md +++ b/tower/README.md @@ -174,7 +174,7 @@ Tower. Tower will keep a rolling MSRV (minimum supported Rust version) policy of **at least** 6 months. When increasing the MSRV, the new Rust version must have been -released at least six months ago. The current MSRV is 1.64.0. +released at least six months ago. The current MSRV is 1.63.0. ## License diff --git a/tower/src/lib.rs b/tower/src/lib.rs index 179edfbec..003ebcee6 100644 --- a/tower/src/lib.rs +++ b/tower/src/lib.rs @@ -144,7 +144,7 @@ //! //! Tower will keep a rolling MSRV (minimum supported Rust version) policy of **at //! least** 6 months. When increasing the MSRV, the new Rust version must have been -//! released at least six months ago. The current MSRV is 1.64.0. +//! released at least six months ago. The current MSRV is 1.63.0. //! //! [`Service`]: crate::Service //! [`Layer`]: crate::Layer