1f336fe496
Add `rayon` and `crossbeam-channel` dependencies to support concurrent execution. Replace the synchronous, mutex-protected closure pattern with a channel-based producer-consumer approach using `std::thread::scope`. This decouples unitig iteration from processing, eliminating lock contention and `Mutex` overhead while enabling parallel workloads.
21 lines
481 B
TOML
21 lines
481 B
TOML
[package]
|
|
name = "obidebruinj"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
obikseq = { path = "../obikseq" }
|
|
obifastwrite = { path = "../obifastwrite" }
|
|
ahash = "0.8"
|
|
hashbrown = { version = "0.14", features = ["rayon"] }
|
|
rayon = "1"
|
|
crossbeam-channel = "0.5"
|
|
xxhash-rust = { version = "0.8.15", features = ["xxh3", "const_xxh3"] }
|
|
tracing = "0.1"
|
|
|
|
[features]
|
|
test-utils = []
|
|
|
|
[dev-dependencies]
|
|
obikseq = { path = "../obikseq", features = ["test-utils"] }
|