-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimal 2021 edition update, MSRV -> 1.56, GHA update (#80)
* Minimal ed2021 update, and MSRV -> 1.56 * Set MSRV in Cargo.toml * Use minimal versions for all CI runs * typo * Update minimum dep for basic_wasm_bindgen console_error_panic_hook < 0.1.5 was nightly only. This change was needed to make CI with minimum versions pass. Really, it's a little unnecessary for an example to have an MSRV, but to make this CI work with the fewest modifications it's the easiest option.
- Loading branch information
Showing
4 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
toolchain: [ | ||
stable, | ||
beta, | ||
1.54.0 # MSRV | ||
1.56.0 # MSRV | ||
] | ||
args: [ | ||
--all-features, | ||
|
@@ -22,6 +22,11 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions-rs/[email protected] | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
|
||
- uses: actions-rs/[email protected] | ||
with: | ||
profile: minimal | ||
|
@@ -33,6 +38,8 @@ jobs: | |
with: | ||
key: ${{ matrix.args }} | ||
|
||
- run: cargo +nightly update -Z minimal-versions | ||
|
||
- run: cargo fmt -- --check | ||
|
||
- run: cargo clippy --workspace --all-targets ${{ matrix.args }} -- -D warnings | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,14 @@ name = "xtra" | |
version = "0.6.0" | ||
description = "A tiny actor framework" | ||
authors = ["Restioson <[email protected]>"] | ||
edition = "2018" | ||
edition = "2021" | ||
license = "MPL-2.0" | ||
repository = "https://github.com/Restioson/xtra" | ||
documentation = "https://docs.rs/xtra" | ||
readme = "README.md" | ||
keywords = ["async", "actor", "futures", "xtra", "async-await"] | ||
categories = ["asynchronous", "concurrency"] | ||
rust-version = "1.56.0" | ||
|
||
[dependencies] | ||
async-trait = "0.1.36" | ||
|
@@ -18,7 +19,7 @@ catty = "0.1.4" | |
flume = { git = "https://github.com/Restioson/flume", branch = "sink_to_sender", default-features = false, features = ["async"] } | ||
futures-core = { version = "0.3.5", default-features = false, features = ["alloc"] } | ||
futures-sink = { version = "0.3.5", default-features = false } | ||
futures-util = { version = "0.3.5", default-features = false, features = ["sink"] } | ||
futures-util = { version = "0.3.5", default-features = false, features = ["sink", "alloc"] } | ||
pollster = "0.2" | ||
event-listener = "2.4.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters