Skip to content

Commit

Permalink
Merge pull request #59 from smol-rs/notgull/evl-3.0
Browse files Browse the repository at this point in the history
Bump to event-listener v3.0.0
  • Loading branch information
notgull authored Sep 16, 2023
2 parents dede885 + 17774b3 commit 618701f
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 185 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,27 @@ jobs:
if: startsWith(matrix.rust, 'nightly')
run: cargo check -Z features=dev_dep
- run: cargo test
- run: cargo test --no-default-features
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- run: rustup target add thumbv7m-none-eabi
- name: Run cargo check (without dev-dependencies to catch missing feature flags)
run: cargo hack build --all --no-dev-deps
- run: cargo hack build --all --target thumbv7m-none-eabi --no-default-features --no-dev-deps

msrv:
runs-on: ubuntu-latest
strategy:
matrix:
# When updating this, the reminder to update the minimum supported
# Rust version in Cargo.toml.
rust: ['1.45']
rust: ['1.59']
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
- run: cargo build
- run: cargo build --no-default-features

clippy:
runs-on: ubuntu-latest
Expand Down
14 changes: 10 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name = "async-channel"
version = "1.9.0"
authors = ["Stjepan Glavina <[email protected]>"]
edition = "2018"
rust-version = "1.45"
rust-version = "1.59"
description = "Async multi-producer multi-consumer channel"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/async-channel"
Expand All @@ -15,10 +15,16 @@ categories = ["asynchronous", "concurrency"]
exclude = ["/.*"]

[dependencies]
concurrent-queue = "2"
event-listener = "2.4.0"
futures-core = "0.3.5"
concurrent-queue = { version = "2", default-features = false }
event-listener = { version = "3.0.0", default-features = false }
event-listener-strategy = { version = "0.2.0", default-features = false }
futures-core = { version = "0.3.5", default-features = false }
pin-project-lite = "0.2.11"

[dev-dependencies]
easy-parallel = "3"
futures-lite = "1"

[features]
default = ["std"]
std = ["concurrent-queue/std", "event-listener/std", "event-listener-strategy/std"]
Loading

0 comments on commit 618701f

Please sign in to comment.