Cargo Features

logicaffeine-system has no features set by default.

[dependencies]
logicaffeine-system = { version = "0.9.16", features = ["networking", "persistence", "concurrency", "io-uring", "full", "distributed"] }
default

LEAN by default - no network, no persistence, no parallelism

networking distributed? full?

Individual capabilities (opt-in)

Enables futures and libp2p ^0.54

libp2p:

Feature-gated heavy dependencies

Affects logicaffeine-system::network, logicaffeine-system::crdt, logicaffeine-system::distributed

persistence distributed? full? io-uring?

Enables memmap2 and sha2 ^0.10

Affects logicaffeine-system::file, logicaffeine-system::fs, logicaffeine-system::storage, logicaffeine-system::distributed

concurrency full?

Enables bumpalo and rayon

Affects logicaffeine-system::concurrency, logicaffeine-system::memory

io-uring = persistence

Enables crossbeam-channel and io-uring

full = concurrency, networking, persistence

Convenience bundles

distributed = networking, persistence

For Distributed<T>