To integrate into your Rust project, add the following lines to Cargo.toml:
[dependencies]
forkunion = "4.0.0-rc.1" # detect what the platform offers
forkunion = { version = "4.0.0-rc.1", features = ["portable"] } # STL thread pool only
forkunion = { version = "4.0.0-rc.1", features = ["place-memory-on-domain"] } # require NUMA-aware allocationsOr for the preview development version:
[dependencies]
forkunion = { git = "https://github.com/ashvardanian/ForkUnion.git", branch = "main" }