-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional serde support and make MonotonicTime serializable
- Loading branch information
Showing
26 changed files
with
890 additions
and
573 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
[package] | ||
name = "asynchronix" | ||
# When incrementing version and releasing to crates.io: | ||
# - Update crate version in this Cargo.toml | ||
# - Update crate version in README.md | ||
# - Update CHANGELOG.md | ||
# - Update if necessary copyright notice in LICENSE-MIT | ||
# - Create a "vX.Y.Z" git tag | ||
authors = ["Serge Barral <[email protected]>"] | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
edition = "2021" | ||
rust-version = "1.64" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -24,11 +25,11 @@ autotests = false | |
dev-hooks = [] | ||
# Logging of performance-related statistics; development only. | ||
dev-logs = [] | ||
serde = ["dep:serde"] | ||
|
||
[dependencies] | ||
async-event = "0.1" | ||
crossbeam-utils = "0.8" | ||
crossbeam-queue = "0.3" | ||
diatomic-waker = "0.1" | ||
futures-task = "0.3" | ||
multishot = "0.3" | ||
|
@@ -39,6 +40,10 @@ slab = "0.4" | |
spin_sleep = "1" | ||
st3 = "0.4" | ||
|
||
[dependencies.serde] | ||
version = "1" | ||
optional = true | ||
|
||
[target.'cfg(asynchronix_loom)'.dependencies] | ||
loom = "0.5" | ||
waker-fn = "1.1" | ||
|
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
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.