Cargo Features
[dependencies]
smoldot = { version = "0.19.2", default-features = false, features = ["std", "database-sqlite", "wasmtime"] }
- default = database-sqlite, std, wasmtime
-
These default features are set whenever
smoldot
is added without
somewhere in the dependency tree.default-features = false - std default database-sqlite wasmtime = futures-util
-
Enables pin-project, soketto, thread-pool of futures-executor and getrandom of schnorrkel
schnorrkel:
We cannot make getrandom a direct dependency because rand_core makes getrandom a feature name, which requires forwarding.
- database-sqlite default = std
-
Enables parking_lot and rusqlite
rusqlite:
database-sqlite
feature - wasmtime default = std
-
Enables wasmtime ^24.0.0
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.
- futures-util std
-
Enables futures-util
std
feature Add here the crates that cannot function without the help of the operating system or environment. TODO: slim down these features