Skip to content

Commit

Permalink
Bump MSRV of utility crates to 1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Nov 23, 2021
1 parent 09b0186 commit cc19f6c
Show file tree
Hide file tree
Showing 10 changed files with 193 additions and 27 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ jobs:
matrix:
rust:
# This is the minimum Rust version supported by futures-core, futures-io, futures-sink, futures-task.
# When updating this, the reminder to update the minimum required version in .clippy.toml.
- 1.36.0
# When updating this, the reminder to update the minimum required version in README.md and .clippy.toml.
- 1.36
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
rust:
# This is the minimum Rust version supported by futures, futures-util, futures-macro, futures-executor, futures-channel, futures-test.
# When updating this, the reminder to update the minimum required version in README.md.
- 1.41.0
- 1.45
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
30 changes: 6 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
<a href="https://crates.io/crates/futures">
<img alt="Crates.io" src="https://img.shields.io/crates/v/futures.svg">
</a>

<a href="https://www.rust-lang.org">
<img alt="Rustc Version" src="https://img.shields.io/badge/rustc-1.41+-lightgray.svg">
</a>
</p>

<p align="center">
Expand All @@ -42,13 +38,7 @@ Add this to your `Cargo.toml`:
futures = "0.3"
```

Now, you can use futures-rs:

```rust
use futures::future::Future;
```

The current futures-rs requires Rust 1.41 or later.
The current `futures` requires Rust 1.45 or later.

### Feature `std`

Expand All @@ -61,19 +51,11 @@ a `#[no_std]` environment, use:
futures = { version = "0.3", default-features = false }
```

# License

This project is licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
https://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
https://opensource.org/licenses/MIT)

at your option.
## License

### Contribution
Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in futures-rs by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-channel/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-channel

Channels for asynchronous communication using futures-rs.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-channel = "0.3"
```

The current `futures-channel` requires Rust 1.45 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-core

The core traits and types in for the `futures` library.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-core = "0.3"
```

The current `futures-core` requires Rust 1.36 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-executor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-executor

Executors for asynchronous tasks based on the futures-rs library.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-executor = "0.3"
```

The current `futures-executor` requires Rust 1.45 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-io/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-io

The `AsyncRead`, `AsyncWrite`, `AsyncSeek`, and `AsyncBufRead` traits for the futures-rs library.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-io = "0.3"
```

The current `futures-io` requires Rust 1.36 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-sink/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-sink

The asynchronous `Sink` trait for the futures-rs library.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-sink = "0.3"
```

The current `futures-sink` requires Rust 1.36 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-task/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-task

Tools for working with tasks.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-task = "0.3"
```

The current `futures-task` requires Rust 1.36 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-test/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-test

Common utilities for testing components built off futures-rs.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-test = "0.3"
```

The current `futures-test` requires Rust 1.45 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.
23 changes: 23 additions & 0 deletions futures-util/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# futures-util

Common utilities and extension traits for the futures-rs library.

## Usage

Add this to your `Cargo.toml`:

```toml
[dependencies]
futures-util = "0.3"
```

The current `futures-util` requires Rust 1.45 or later.

## License

Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
[MIT license](LICENSE-MIT) at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall
be dual licensed as above, without any additional terms or conditions.

0 comments on commit cc19f6c

Please sign in to comment.