-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a default "std" feature for no_std usage
This is a breaking change for no-default-features users. Signed-off-by: John Nunley <[email protected]>
- Loading branch information
Showing
10 changed files
with
136 additions
and
105 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ name = "async-lock" | |
version = "2.7.0" | ||
authors = ["Stjepan Glavina <[email protected]>"] | ||
edition = "2018" | ||
rust-version = "1.48" | ||
rust-version = "1.59" | ||
description = "Async synchronization primitives" | ||
license = "Apache-2.0 OR MIT" | ||
repository = "https://github.com/smol-rs/async-lock" | ||
|
@@ -15,10 +15,14 @@ categories = ["asynchronous", "concurrency"] | |
exclude = ["/.*"] | ||
|
||
[dependencies] | ||
event-listener = "2" | ||
event-listener-strategy = { git = "https://github.com/smol-rs/event-listener.git" } | ||
event-listener = { version = "3.0.0", default-features = false } | ||
event-listener-strategy = { version = "0.2.0", default-features = false } | ||
pin-project-lite = "0.2.11" | ||
|
||
[features] | ||
default = ["std"] | ||
std = ["event-listener/std", "event-listener-strategy/std"] | ||
|
||
[dev-dependencies] | ||
async-channel = "1.5.0" | ||
fastrand = "2.0.0" | ||
|
@@ -27,7 +31,3 @@ waker-fn = "1.1.0" | |
|
||
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dev-dependencies] | ||
wasm-bindgen-test = "0.3" | ||
|
||
[patch.crates-io] | ||
async-channel = { git = "https://github.com/smol-rs/async-channel.git", branch = "notgull/evl-3.0" } | ||
event-listener = { git = "https://github.com/smol-rs/event-listener.git" } |
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
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
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
Oops, something went wrong.