Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
nacardin committed Jul 10, 2024
1 parent 0a7edcb commit d64542c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ subscriber = [
fixture = ["subscriber", "task", "fluvio-future-derive"]
task_unstable = ["task", "async-std/unstable"]
io = ["async-io"]
sync = ["async-lock", "async-condvar-fair"]
sync = ["async-std/default"]
future = ["async-io", "pin-project"]
net = [
"futures-lite",
Expand Down Expand Up @@ -61,7 +61,7 @@ zero_copy = ["nix", "task_unstable"]
mmap = ["fs", "memmap2", "task_unstable"]
retry = []
doomsday = ["task", "sync"]
tokio1 = ["async-std/tokio1", "async-condvar-fair/tokio"]
tokio1 = ["async-std/tokio1"]
attributes = []

[dependencies]
Expand All @@ -79,10 +79,8 @@ tracing = { version = "0.1.40" }
tracing-subscriber = { version = "0.3.18", optional = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
async-condvar-fair = { version = "1.0.1", optional = true, default-features = false, features = ["smol"] }
async-fs = { version = "2.1", optional = true }
async-io = { version = "2.3", optional = true }
async-lock = { version = "3.4", optional = true }
async-native-tls = { version = "0.5.0", optional = true }
async-net = { version = "2.0", optional = true }
async-std = { version = "1.12", default-features = false, optional = true }
Expand Down
3 changes: 1 addition & 2 deletions src/sync.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
pub use async_lock::*;
pub use async_condvar_fair::*;
pub use async_std::sync::*;

0 comments on commit d64542c

Please sign in to comment.