Cargo Features

histdb-rs = { version = "2.0.1", default-features = false, features = ["histdb-import"] }
default = histdb-import

The histdb-import feature is set by default whenever histdb-rs is added without default-features = false somewhere in the dependency tree.

histdb-import default = rusqlite

Affects import::histdb

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

rusqlite histdb-import

Enables rusqlite ^0.25