Cargo Features
[dependencies]
salsa = { version = "0.24.0", default-features = false, features = ["inventory", "persistence", "shuttle", "accumulator", "macros", "salsa_unstable", "rayon", "compact_str"] }
- default = accumulator, inventory, macros, rayon, salsa_unstable
-
These default features are set whenever
salsais added withoutsomewhere in the dependency tree.default-features = false - inventory default
-
Enables inventory
Automatic ingredient registration.
- persistence
-
Enables serde, persistence of salsa-macros, serde of thin-vec and erased-serde
Persistent caching
Affects
ingredient::Ingredient.serialize,ingredient::Ingredient.deserialize… - shuttle
-
Enables shuttle
Affects
sync::shim… - accumulator default
-
Enables accumulator of salsa-macro-rules
Affects
ingredient::Ingredient.accumulated,salsa::plumbing.accumulator… - macros default
-
Enables salsa-macros
- salsa_unstable default
-
FIXME: remove
salsa_unstablebefore 1.0.Affects
ingredient::Ingredient.memory_usage,memo::Memo.memory_usage…
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- rayon default
-
Enables rayon
parallel map
- compact_str implicit feature
-
Enables compact_str
Stuff we want Update impls for by default