Skip to content

Commit 8a6d2a9

Browse files
committed
Start futures 0.4 and futures-core 1.0 development
- futures-core: 0.3 -> 1.0 - futures-io: as-is - others: 0.3 -> 0.4
1 parent e981716 commit 8a6d2a9

File tree

13 files changed

+48
-48
lines changed

13 files changed

+48
-48
lines changed

futures-channel/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-channel"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-channel/0.3"
9+
documentation = "https://docs.rs/futures-channel/0.4.0-alpha.0"
1010
description = """
1111
Channels for asynchronous communication using futures-rs.
1212
"""
@@ -24,8 +24,8 @@ unstable = ["futures-core/unstable"]
2424
cfg-target-has-atomic = ["futures-core/cfg-target-has-atomic"]
2525

2626
[dependencies]
27-
futures-core = { path = "../futures-core", version = "0.3.12", default-features = false }
28-
futures-sink = { path = "../futures-sink", version = "0.3.12", default-features = false, optional = true }
27+
futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false }
28+
futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false, optional = true }
2929

3030
[dev-dependencies]
3131
futures = { path = "../futures", default-features = true }

futures-core/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-core"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "1.0.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-core/0.3"
9+
documentation = "https://docs.rs/futures-core/1.0.0-alpha.0"
1010
description = """
1111
The core traits and types in for the `futures` library.
1212
"""

futures-executor/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-executor"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-executor/0.3"
9+
documentation = "https://docs.rs/futures-executor/0.4.0-alpha.0"
1010
description = """
1111
Executors for asynchronous tasks based on the futures-rs library.
1212
"""
@@ -17,9 +17,9 @@ std = ["futures-core/std", "futures-task/std", "futures-util/std"]
1717
thread-pool = ["std", "num_cpus"]
1818

1919
[dependencies]
20-
futures-core = { path = "../futures-core", version = "0.3.12", default-features = false }
21-
futures-task = { path = "../futures-task", version = "0.3.12", default-features = false }
22-
futures-util = { path = "../futures-util", version = "0.3.12", default-features = false }
20+
futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false }
21+
futures-task = { path = "../futures-task", version = "=0.4.0-alpha.0", default-features = false }
22+
futures-util = { path = "../futures-util", version = "=0.4.0-alpha.0", default-features = false }
2323
num_cpus = { version = "1.8.0", optional = true }
2424

2525
[dev-dependencies]

futures-macro/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-macro"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Taylor Cramer <[email protected]>", "Taiki Endo <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-macro/0.3"
9+
documentation = "https://docs.rs/futures-macro/0.4.0-alpha.0"
1010
description = """
1111
The futures-rs procedural macro implementations.
1212
"""

futures-sink/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-sink"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-sink/0.3"
9+
documentation = "https://docs.rs/futures-sink/0.4.0-alpha.0"
1010
description = """
1111
The asynchronous `Sink` trait for the futures-rs library.
1212
"""

futures-task/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-task"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-task/0.3"
9+
documentation = "https://docs.rs/futures-task/0.4.0-alpha.0"
1010
description = """
1111
Tools for working with tasks.
1212
"""

futures-test/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[package]
22
name = "futures-test"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Wim Looman <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-test/0.3"
9+
documentation = "https://docs.rs/futures-test/0.4.0-alpha.0"
1010
description = """
1111
Common utilities for testing components built off futures-rs.
1212
"""
1313

1414
[dependencies]
15-
futures-core = { version = "0.3.12", path = "../futures-core", default-features = false }
16-
futures-task = { version = "0.3.12", path = "../futures-task", default-features = false }
15+
futures-core = { version = "=1.0.0-alpha.0", path = "../futures-core", default-features = false }
16+
futures-task = { version = "=0.4.0-alpha.0", path = "../futures-task", default-features = false }
1717
futures-io = { version = "0.3.12", path = "../futures-io", default-features = false }
18-
futures-util = { version = "0.3.12", path = "../futures-util", default-features = false }
19-
futures-executor = { version = "0.3.12", path = "../futures-executor", default-features = false }
20-
futures-sink = { version = "0.3.12", path = "../futures-sink", default-features = false }
18+
futures-util = { version = "=0.4.0-alpha.0", path = "../futures-util", default-features = false }
19+
futures-executor = { version = "=0.4.0-alpha.0", path = "../futures-executor", default-features = false }
20+
futures-sink = { version = "=0.4.0-alpha.0", path = "../futures-sink", default-features = false }
2121
pin-utils = { version = "0.1.0", default-features = false }
2222
pin-project = "1.0.1"
2323

futures-util/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "futures-util"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/futures-rs"
88
homepage = "https://rust-lang.github.io/futures-rs"
9-
documentation = "https://docs.rs/futures-util/0.3"
9+
documentation = "https://docs.rs/futures-util/0.4.0-alpha.0"
1010
description = """
1111
Common utilities and extension traits for the futures-rs library.
1212
"""
@@ -33,12 +33,12 @@ read-initializer = ["io", "futures-io/read-initializer", "futures-io/unstable"]
3333
write-all-vectored = ["io"]
3434

3535
[dependencies]
36-
futures-core = { path = "../futures-core", version = "0.3.12", default-features = false }
37-
futures-task = { path = "../futures-task", version = "0.3.12", default-features = false }
38-
futures-channel = { path = "../futures-channel", version = "0.3.12", default-features = false, features = ["std"], optional = true }
36+
futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false }
37+
futures-task = { path = "../futures-task", version = "=0.4.0-alpha.0", default-features = false }
38+
futures-channel = { path = "../futures-channel", version = "=0.4.0-alpha.0", default-features = false, features = ["std"], optional = true }
3939
futures-io = { path = "../futures-io", version = "0.3.12", default-features = false, features = ["std"], optional = true }
40-
futures-sink = { path = "../futures-sink", version = "0.3.12", default-features = false, optional = true }
41-
futures-macro = { path = "../futures-macro", version = "=0.3.12", default-features = false, optional = true }
40+
futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false, optional = true }
41+
futures-macro = { path = "../futures-macro", version = "=0.4.0-alpha.0", default-features = false, optional = true }
4242
proc-macro-hack = { version = "0.5.19", optional = true }
4343
proc-macro-nested = { version = "0.1.2", optional = true }
4444
slab = { version = "0.4.2", optional = true }

futures/Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
[package]
22
name = "futures"
33
edition = "2018"
4-
version = "0.3.12"
4+
version = "0.4.0-alpha.0"
55
authors = ["Alex Crichton <[email protected]>"]
66
license = "MIT OR Apache-2.0"
77
readme = "../README.md"
88
keywords = ["futures", "async", "future"]
99
repository = "https://github.com/rust-lang/futures-rs"
1010
homepage = "https://rust-lang.github.io/futures-rs"
11-
documentation = "https://docs.rs/futures/0.3"
11+
documentation = "https://docs.rs/futures/0.4.0-alpha.0"
1212
description = """
1313
An implementation of futures and streams featuring zero allocations,
1414
composability, and iterator-like interfaces.
1515
"""
1616
categories = ["asynchronous"]
1717

1818
[dependencies]
19-
futures-core = { path = "../futures-core", version = "0.3.12", default-features = false }
20-
futures-task = { path = "../futures-task", version = "0.3.12", default-features = false }
21-
futures-channel = { path = "../futures-channel", version = "0.3.12", default-features = false, features = ["sink"] }
22-
futures-executor = { path = "../futures-executor", version = "0.3.12", default-features = false, optional = true }
19+
futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false }
20+
futures-task = { path = "../futures-task", version = "=0.4.0-alpha.0", default-features = false }
21+
futures-channel = { path = "../futures-channel", version = "=0.4.0-alpha.0", default-features = false, features = ["sink"] }
22+
futures-executor = { path = "../futures-executor", version = "=0.4.0-alpha.0", default-features = false, optional = true }
2323
futures-io = { path = "../futures-io", version = "0.3.12", default-features = false }
24-
futures-sink = { path = "../futures-sink", version = "0.3.12", default-features = false }
25-
futures-util = { path = "../futures-util", version = "0.3.12", default-features = false, features = ["sink"] }
24+
futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false }
25+
futures-util = { path = "../futures-util", version = "=0.4.0-alpha.0", default-features = false, features = ["sink"] }
2626

2727
[dev-dependencies]
2828
futures-executor = { path = "../futures-executor", features = ["thread-pool"] }

futures/tests/macro-reexport/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ edition = "2018"
66
publish = false
77

88
[dependencies]
9-
futures03 = { path = "../..", package = "futures" }
9+
futures04 = { path = "../..", package = "futures" }
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// normal reexport
2-
pub use futures03::{join, try_join, select, select_biased};
2+
pub use futures04::{join, try_join, select, select_biased};
33

44
// reexport + rename
5-
pub use futures03::{
5+
pub use futures04::{
66
join as join2, try_join as try_join2,
77
select as select2, select_biased as select_biased2,
88
};

futures/tests/macro-tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ edition = "2018"
66
publish = false
77

88
[dependencies]
9-
futures03 = { path = "../..", package = "futures" }
9+
futures04 = { path = "../..", package = "futures" }
1010
macro-reexport = { path = "../macro-reexport" }

futures/tests/macro-tests/src/main.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
// Check that it works even if proc-macros are reexported.
22

33
fn main() {
4-
use futures03::{executor::block_on, future};
4+
use futures04::{executor::block_on, future};
55

66
// join! macro
77
let _ = block_on(async {
8-
let _ = futures03::join!(async {}, async {});
8+
let _ = futures04::join!(async {}, async {});
99
let _ = macro_reexport::join!(async {}, async {});
1010
let _ = macro_reexport::join2!(async {}, async {});
1111
});
1212

1313
// try_join! macro
1414
let _ = block_on(async {
15-
let _ = futures03::try_join!(async { Ok::<(), ()>(()) }, async { Ok::<(), ()>(()) });
15+
let _ = futures04::try_join!(async { Ok::<(), ()>(()) }, async { Ok::<(), ()>(()) });
1616
let _ = macro_reexport::try_join!(async { Ok::<(), ()>(()) }, async { Ok::<(), ()>(()) });
1717
let _ = macro_reexport::try_join2!(async { Ok::<(), ()>(()) }, async { Ok::<(), ()>(()) });
1818
Ok::<(), ()>(())
@@ -22,7 +22,7 @@ fn main() {
2222
let _ = block_on(async {
2323
let mut a = future::ready(());
2424
let mut b = future::pending::<()>();
25-
let _ = futures03::select! {
25+
let _ = futures04::select! {
2626
_ = a => {},
2727
_ = b => unreachable!(),
2828
};
@@ -46,7 +46,7 @@ fn main() {
4646
let _ = block_on(async {
4747
let mut a = future::ready(());
4848
let mut b = future::pending::<()>();
49-
let _ = futures03::select_biased! {
49+
let _ = futures04::select_biased! {
5050
_ = a => {},
5151
_ = b => unreachable!(),
5252
};

0 commit comments

Comments
 (0)