mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-07 00:00:09 +02:00
chore: prepare for v0.3 breaking changes (#2747)
Bug fixes will be applied to the v0.2.x branch.
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ publish = false
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
tokio = { version = "0.3.0", path = "../tokio", features = ["full"] }
|
||||||
bencher = "0.1.5"
|
bencher = "0.1.5"
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
|
|||||||
+2
-2
@@ -7,10 +7,10 @@ edition = "2018"
|
|||||||
# If you copy one of the examples into a new project, you should be using
|
# If you copy one of the examples into a new project, you should be using
|
||||||
# [dependencies] instead.
|
# [dependencies] instead.
|
||||||
[dev-dependencies]
|
[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 = "0.1"
|
||||||
tracing-subscriber = { version = "0.2.7", default-features = false, features = ["fmt", "ansi", "env-filter", "chrono", "tracing-log"] }
|
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"
|
bytes = "0.5"
|
||||||
futures = "0.3.0"
|
futures = "0.3.0"
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
|
|||||||
@@ -6,18 +6,19 @@ name = "tokio-macros"
|
|||||||
# - Update doc url
|
# - Update doc url
|
||||||
# - Cargo.toml
|
# - Cargo.toml
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.1.x" git tag.
|
# - Create "v0.3.x" git tag.
|
||||||
version = "0.2.5"
|
version = "0.3.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
authors = ["Tokio Contributors <[email protected]>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/tokio-rs/tokio"
|
repository = "https://github.com/tokio-rs/tokio"
|
||||||
homepage = "https://tokio.rs"
|
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 = """
|
description = """
|
||||||
Tokio's proc macros.
|
Tokio's proc macros.
|
||||||
"""
|
"""
|
||||||
categories = ["asynchronous"]
|
categories = ["asynchronous"]
|
||||||
|
publish = false
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
proc-macro = true
|
proc-macro = true
|
||||||
@@ -30,7 +31,7 @@ quote = "1"
|
|||||||
syn = { version = "1.0.3", features = ["full"] }
|
syn = { version = "1.0.3", features = ["full"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
tokio = { version = "0.3.0", path = "../tokio", features = ["full"] }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
|
|||||||
@@ -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)]
|
#![allow(clippy::needless_doctest_main)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|||||||
@@ -6,27 +6,28 @@ name = "tokio-test"
|
|||||||
# - Update doc url
|
# - Update doc url
|
||||||
# - Cargo.toml
|
# - Cargo.toml
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.2.x" git tag.
|
# - Create "v0.3.x" git tag.
|
||||||
version = "0.2.1"
|
version = "0.3.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
authors = ["Tokio Contributors <[email protected]>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/tokio-rs/tokio"
|
repository = "https://github.com/tokio-rs/tokio"
|
||||||
homepage = "https://tokio.rs"
|
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 = """
|
description = """
|
||||||
Testing utilities for Tokio- and futures-based code
|
Testing utilities for Tokio- and futures-based code
|
||||||
"""
|
"""
|
||||||
categories = ["asynchronous", "testing"]
|
categories = ["asynchronous", "testing"]
|
||||||
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
bytes = "0.5.0"
|
||||||
futures-core = "0.3.0"
|
futures-core = "0.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[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"
|
futures-util = "0.3.0"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.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(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
missing_docs,
|
missing_docs,
|
||||||
|
|||||||
@@ -7,17 +7,18 @@ name = "tokio-util"
|
|||||||
# - Cargo.toml
|
# - Cargo.toml
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.2.x" git tag.
|
# - Create "v0.2.x" git tag.
|
||||||
version = "0.3.1"
|
version = "0.4.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
authors = ["Tokio Contributors <[email protected]>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
repository = "https://github.com/tokio-rs/tokio"
|
repository = "https://github.com/tokio-rs/tokio"
|
||||||
homepage = "https://tokio.rs"
|
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 = """
|
description = """
|
||||||
Additional utilities for working with Tokio.
|
Additional utilities for working with Tokio.
|
||||||
"""
|
"""
|
||||||
categories = ["asynchronous"]
|
categories = ["asynchronous"]
|
||||||
|
publish = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# No features on by default
|
# No features on by default
|
||||||
@@ -31,7 +32,7 @@ codec = ["tokio/stream"]
|
|||||||
udp = ["tokio/udp"]
|
udp = ["tokio/udp"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "0.2.5", path = "../tokio" }
|
tokio = { version = "0.3.0", path = "../tokio" }
|
||||||
|
|
||||||
bytes = "0.5.0"
|
bytes = "0.5.0"
|
||||||
futures-core = "0.3.0"
|
futures-core = "0.3.0"
|
||||||
@@ -41,8 +42,8 @@ log = "0.4"
|
|||||||
pin-project-lite = "0.1.4"
|
pin-project-lite = "0.1.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "0.2.0", path = "../tokio", features = ["full"] }
|
tokio = { version = "0.3.0", path = "../tokio", features = ["full"] }
|
||||||
tokio-test = { version = "0.2.0", path = "../tokio-test" }
|
tokio-test = { version = "0.3.0", path = "../tokio-test" }
|
||||||
|
|
||||||
futures = "0.3.0"
|
futures = "0.3.0"
|
||||||
|
|
||||||
|
|||||||
@@ -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)]
|
#![allow(clippy::needless_doctest_main)]
|
||||||
#![warn(
|
#![warn(
|
||||||
missing_debug_implementations,
|
missing_debug_implementations,
|
||||||
|
|||||||
+6
-5
@@ -7,13 +7,13 @@ name = "tokio"
|
|||||||
# - Cargo.toml
|
# - Cargo.toml
|
||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.2.x" git tag.
|
# - Create "v0.3.x" git tag.
|
||||||
version = "0.2.22"
|
version = "0.3.0"
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
authors = ["Tokio Contributors <[email protected]>"]
|
authors = ["Tokio Contributors <[email protected]>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
readme = "README.md"
|
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"
|
repository = "https://github.com/tokio-rs/tokio"
|
||||||
homepage = "https://tokio.rs"
|
homepage = "https://tokio.rs"
|
||||||
description = """
|
description = """
|
||||||
@@ -22,6 +22,7 @@ backed applications.
|
|||||||
"""
|
"""
|
||||||
categories = ["asynchronous", "network-programming"]
|
categories = ["asynchronous", "network-programming"]
|
||||||
keywords = ["io", "async", "non-blocking", "futures"]
|
keywords = ["io", "async", "non-blocking", "futures"]
|
||||||
|
publish = false
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# Include nothing by default
|
# Include nothing by default
|
||||||
@@ -91,7 +92,7 @@ udp = ["io-driver"]
|
|||||||
uds = ["io-driver", "mio-uds", "libc"]
|
uds = ["io-driver", "mio-uds", "libc"]
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
bytes = "0.5.0"
|
||||||
pin-project-lite = "0.1.1"
|
pin-project-lite = "0.1.1"
|
||||||
@@ -122,7 +123,7 @@ default-features = false
|
|||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[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 = { version = "0.3.0", features = ["async-await"] }
|
||||||
futures-test = "0.3.0"
|
futures-test = "0.3.0"
|
||||||
proptest = "0.9.4"
|
proptest = "0.9.4"
|
||||||
|
|||||||
+1
-1
@@ -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(
|
#![allow(
|
||||||
clippy::cognitive_complexity,
|
clippy::cognitive_complexity,
|
||||||
clippy::large_enum_variant,
|
clippy::large_enum_variant,
|
||||||
|
|||||||
Reference in New Issue
Block a user