Rust · Installation

Installation

4.0.0-rc.1 · f2ef38ea

Ask your coding agent about this page, or add the docs server to it

curl -s 'https://www.unum.cloud/docs/forkunion/rust/installation.md' | claude -p "How would this fit my code?"

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 allocations

Or for the preview development version:

[dependencies]
forkunion = { git = "https://github.com/ashvardanian/ForkUnion.git", branch = "main" }