diff options
author | Carl Lerche <me@carllerche.com> | 2020-08-07 20:27:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 20:27:53 -0700 |
commit | 6ccefb77e273d8bfda72d638404c797fc8d5f2d4 (patch) | |
tree | bdd04cc36d2f9e679220bef185d42f2ab86130c0 | |
parent | 1167c09ae8bfd0d4fff97d33803d959222f9e2ab (diff) |
chore: prepare for v0.3 breaking changes (#2747)
Bug fixes will be applied to the v0.2.x branch.
-rw-r--r-- | benches/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/Cargo.toml | 4 | ||||
-rw-r--r-- | tokio-macros/Cargo.toml | 9 | ||||
-rw-r--r-- | tokio-macros/src/lib.rs | 2 | ||||
-rw-r--r-- | tokio-test/Cargo.toml | 11 | ||||
-rw-r--r-- | tokio-test/src/lib.rs | 2 | ||||
-rw-r--r-- | tokio-util/Cargo.toml | 11 | ||||
-rw-r--r-- | tokio-util/src/lib.rs | 2 | ||||
-rw-r--r-- | tokio/Cargo.toml | 11 | ||||
-rw-r--r-- | tokio/src/lib.rs | 2 |
10 files changed, 30 insertions, 26 deletions
diff --git a/benches/Cargo.toml b/benches/Cargo.toml index 75723ce2..3a90943f 100644 --- a/benches/Cargo.toml +++ b/benches/Cargo.toml @@ -5,7 +5,7 @@ publish = false edition = "2018" [dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["full"] } +tokio = { version = "0.3.0", path = "../tokio", features = ["full"] } bencher = "0.1.5" [[bench]] diff --git a/examples/Cargo.toml b/examples/Cargo.toml index fe3c90f9..59d5a765 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -7,10 +7,10 @@ edition = "2018" # If you copy one of the examples into a new project, you should be using # [dependencies] instead. [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["full", "tracing"] } +tokio = { version = "0.3.0", path = "../tokio", features = ["full", "tracing"] } tracing = "0.1" tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] } -tokio-util = { version = "0.3.0", path = "../tokio-util", features = ["full"] } +tokio-util = { version = "0.4.0", path = "../tokio-util", features = ["full"] } bytes = "0.5" futures = "0.3.0" http = "0.2" diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index 27092128..021a98c3 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -6,18 +6,19 @@ name = "tokio-macros" # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. -# - Create "v0.1.x" git tag. -version = "0.2.5" +# - Create "v0.3.x" git tag. +version = "0.3.0" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-macros/0.2.5/tokio_macros" +documentation = "https://docs.rs/tokio-macros/0.3.0/tokio_macros" description = """ Tokio's proc macros. """ categories = ["asynchronous"] +publish = false [lib] proc-macro = true @@ -30,7 +31,7 @@ quote = "1" syn = { version = "1.0.3", features = ["full"] } [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["full"] } +tokio = { version = "0.3.0", path = "../tokio", features = ["full"] } [package.metadata.docs.rs] all-features = true diff --git a/tokio-macros/src/lib.rs b/tokio-macros/src/lib.rs index 1fd445d8..2bb0c210 100644 --- a/tokio-macros/src/lib.rs +++ b/tokio-macros/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-macros/0.2.5")] +#![doc(html_root_url = "https://docs.rs/tokio-macros/0.3.0")] #![allow(clippy::needless_doctest_main)] #![warn( missing_debug_implementations, diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 130035c2..9522fa8d 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -6,27 +6,28 @@ name = "tokio-test" # - Update doc url # - Cargo.toml # - Update CHANGELOG.md. -# - Create "v0.2.x" git tag. -version = "0.2.1" +# - Create "v0.3.x" git tag. +version = "0.3.0" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-test/0.2.1/tokio_test" +documentation = "https://docs.rs/tokio-test/0.3.0/tokio_test" description = """ Testing utilities for Tokio- and futures-based code """ categories = ["asynchronous", "testing"] +publish = false [dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["rt-core", "stream", "sync", "time", "test-util"] } +tokio = { version = "0.3.0", path = "../tokio", features = ["rt-core", "stream", "sync", "time", "test-util"] } bytes = "0.5.0" futures-core = "0.3.0" [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["full"] } +tokio = { version = "0.3.0", path = "../tokio", features = ["full"] } futures-util = "0.3.0" [package.metadata.docs.rs] diff --git a/tokio-test/src/lib.rs b/tokio-test/src/lib.rs index 185f317b..35f2a9b0 100644 --- a/tokio-test/src/lib.rs +++ b/tokio-test/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-test/0.2.1")] +#![doc(html_root_url = "https://docs.rs/tokio-test/0.3.0")] #![warn( missing_debug_implementations, missing_docs, diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index b79bc017..de9bd000 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -7,17 +7,18 @@ name = "tokio-util" # - Cargo.toml # - Update CHANGELOG.md. # - Create "v0.2.x" git tag. -version = "0.3.1" +version = "0.4.0" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" -documentation = "https://docs.rs/tokio-util/0.3.1/tokio_util" +documentation = "https://docs.rs/tokio-util/0.4.0/tokio_util" description = """ Additional utilities for working with Tokio. """ categories = ["asynchronous"] +publish = false [features] # No features on by default @@ -31,7 +32,7 @@ codec = ["tokio/stream"] udp = ["tokio/udp"] [dependencies] -tokio = { version = "0.2.5", path = "../tokio" } +tokio = { version = "0.3.0", path = "../tokio" } bytes = "0.5.0" futures-core = "0.3.0" @@ -41,8 +42,8 @@ log = "0.4" pin-project-lite = "0.1.4" [dev-dependencies] -tokio = { version = "0.2.0", path = "../tokio", features = ["full"] } -tokio-test = { version = "0.2.0", path = "../tokio-test" } +tokio = { version = "0.3.0", path = "../tokio", features = ["full"] } +tokio-test = { version = "0.3.0", path = "../tokio-test" } futures = "0.3.0" diff --git a/tokio-util/src/lib.rs b/tokio-util/src/lib.rs index 260c9485..e56f7a5f 100644 --- a/tokio-util/src/lib.rs +++ b/tokio-util/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio-util/0.3.1")] +#![doc(html_root_url = "https://docs.rs/tokio-util/0.4.0")] #![allow(clippy::needless_doctest_main)] #![warn( missing_debug_implementations, diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 966bfe3e..18fa89c3 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -7,13 +7,13 @@ name = "tokio" # - Cargo.toml # - README.md # - Update CHANGELOG.md. -# - Create "v0.2.x" git tag. -version = "0.2.22" +# - Create "v0.3.x" git tag. +version = "0.3.0" edition = "2018" authors = ["Tokio Contributors <team@tokio.rs>"] license = "MIT" readme = "README.md" -documentation = "https://docs.rs/tokio/0.2.22/tokio/" +documentation = "https://docs.rs/tokio/0.3.0/tokio/" repository = "https://github.com/tokio-rs/tokio" homepage = "https://tokio.rs" description = """ @@ -22,6 +22,7 @@ backed applications. """ categories = ["asynchronous", "network-programming"] keywords = ["io", "async", "non-blocking", "futures"] +publish = false [features] # Include nothing by default @@ -91,7 +92,7 @@ udp = ["io-driver"] uds = ["io-driver", "mio-uds", "libc"] [dependencies] -tokio-macros = { version = "0.2.4", path = "../tokio-macros", optional = true } +tokio-macros = { version = "0.3.0", path = "../tokio-macros", optional = true } bytes = "0.5.0" pin-project-lite = "0.1.1" @@ -122,7 +123,7 @@ default-features = false optional = true [dev-dependencies] -tokio-test = { version = "0.2.0", path = "../tokio-test" } +tokio-test = { version = "0.3.0", path = "../tokio-test" } futures = { version = "0.3.0", features = ["async-await"] } futures-test = "0.3.0" proptest = "0.9.4" diff --git a/tokio/src/lib.rs b/tokio/src/lib.rs index 88707c4d..e308f4f8 100644 --- a/tokio/src/lib.rs +++ b/tokio/src/lib.rs @@ -1,4 +1,4 @@ -#![doc(html_root_url = "https://docs.rs/tokio/0.2.22")] +#![doc(html_root_url = "https://docs.rs/tokio/0.3.0")] #![allow( clippy::cognitive_complexity, clippy::large_enum_variant, |