# Installation

> To integrate into your Rust project, add the following lines to Cargo.toml.

4.0.0-rc.1 · f2ef38ea

To integrate into your Rust project, add the following lines to Cargo.toml:

```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:

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