Skip to content

Commit 70a618e

Browse files
saving state
adding tests saving state recv tweak state save closer to correct flow fixed missing disconnect check cleanup cleanup adding ALL support fixes and cleanup adding more unit tests and fixing bugs saving state fix tweaks cleanup benches working adding disconnect state making idx handle better builder pattern adding better return type fixing comments cleanup fixing issues fixing bugs reorg everything working removing file cleaning up benches file rename select benchmarks fixing send logic fixing select tx select benchmarks working as expected
1 parent 1477161 commit 70a618e

File tree

16 files changed

+5176
-101
lines changed

16 files changed

+5176
-101
lines changed

Cargo.toml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,30 @@ crossbeam-queue = "0.3.12"
2121
crossbeam-utils = "0.8"
2222
futures = "0.3"
2323
parking_lot = "0"
24-
tokio = { version = "1", features = ["time", "rt"], optional=true }
25-
async-std = {version = "1", optional=true}
26-
log = { version="0", optional=true}
27-
smol = {version = "2", optional=true }
24+
tokio = { version = "1", features = ["time", "rt"], optional = true }
25+
async-std = { version = "1", optional = true }
26+
log = { version = "0", optional = true }
27+
smol = { version = "2", optional = true }
28+
fastrand = "2.3"
2829

2930
[dev-dependencies]
30-
tokio = { version = "1", features = ["time", "sync", "rt-multi-thread", "rt", "macros"] }
31+
tokio = { version = "1", features = [
32+
"time",
33+
"sync",
34+
"rt-multi-thread",
35+
"rt",
36+
"macros",
37+
] }
3138
rand = "0.9"
3239
rstest = "0"
33-
captains-log = {version="0.13", features = ["ringfile", "tracing"] }
40+
captains-log = { version = "0.13", features = ["ringfile", "tracing"] }
3441
log = "0"
35-
criterion2 = { version="3.0.2", features = ["async"]}
42+
criterion2 = { version = "3.0.2", features = ["async"] }
3643
crossbeam-channel = "0.5"
3744

38-
flume = {version="0.11", features= ["async"] }
39-
kanal = {version="0.1"}
40-
async-channel = {version="2.5.0"}
45+
flume = { version = "0.11", features = ["async"] }
46+
kanal = { version = "0.1" }
47+
async-channel = { version = "2.5.0" }
4148

4249
[features]
4350
default = []
@@ -70,6 +77,10 @@ harness = false
7077
name = "crossbeam"
7178
harness = false
7279

80+
[[bench]]
81+
name = "crossfire_select"
82+
harness = false
83+
7384
[[bench]]
7485
name = "flume"
7586
harness = false
@@ -85,3 +96,6 @@ harness = false
8596
[[bench]]
8697
name = "async_channel"
8798
harness = false
99+
100+
[patch.crates-io]
101+
crossfire = { path = "." }

0 commit comments

Comments
 (0)