Cargo Features

[dependencies]
stratisd = { version = "3.6.7", default-features = false, features = ["engine", "dbus_enabled", "extras", "min", "systemd_compat", "udev_scripts"] }
default = dbus_enabled, engine

These default features are set whenever stratisd is added without default-features = false somewhere in the dependency tree.

engine default = async-trait, byteorder, chrono, clap, crc, data-encoding, devicemapper, either, env_logger, futures, iocuddle, itertools, lazy_static, libblkid-rs, libc, libcryptsetup-rs, libcryptsetup-rs-sys, libmount, libudev, log, nix, once_cell, rand, regex, retry, semver, serde, serde_derive, serde_json, sha2, stratisd_proc_macros, tempfile, tokio, uuid

Affects stratisd::engine, stratisd::stratis

Required by stratis-min, stratis-utils, stratisd, stratisd-min and stratisd-tools binaries

dbus_enabled default = dbus, dbus-tree

Affects stratisd::dbus_api

extras = pretty-hex

Required by the stratisd-tools binary

min = termios

Affects stratisd::jsonrpc

Required by stratis-min, stratisd-min and stratisd-tools binaries

systemd_compat = bindgen

Affects stratisd::systemd

udev_scripts = data-encoding

Required by stratis-base32-decode and stratis-str-cmp binaries

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.

async-trait engine
bindgen build systemd_compat?
byteorder engine
chrono engine
clap engine
crc engine
dbus dbus_enabled
dbus-tree dbus_enabled
devicemapper engine
either engine
env_logger engine
futures engine
iocuddle engine
itertools engine
lazy_static engine
libblkid-rs engine
libc engine
libcryptsetup-rs engine
libcryptsetup-rs-sys engine
libmount engine
libudev engine
log engine
nix engine
once_cell engine
pretty-hex extras?
rand engine
regex engine
retry engine
semver engine
serde engine
serde_derive engine
serde_json engine
sha2 engine
stratisd_proc_macros engine
tempfile engine
termios min?
tokio engine
uuid engine
data-encoding engine udev_scripts?