Cargo Features
[dependencies]
splice = { version = "2.5.4", default-features = false, features = ["unix", "windows", "sqlite", "migration"] }
- default = sqlite, unix
-
Platform feature model - explicit opt-in required
- unix default = libc
-
Affects
platform::IS_UNIX… - windows
-
Affects
platform::IS_WINDOWS… - sqlite default
-
Backend selection - mutually exclusive, SQLite is default
Enables sqlite-backend of magellan ^2.4
Magellan for code indexing and label queries
and sqlite-backend of sqlitegraph
SQLiteGraph re-exported from Magellan, also keep for direct access
- migration
-
Migration testing feature - enables BOTH backends for migration tests
Enables native-v3 and sqlite-backend of magellan ^2.4 and sqlitegraph
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.