Cargo Features

[dependencies]
oo7 = { version = "0.3.2", default-features = false, features = ["local_tests", "unstable", "async-std", "tokio", "native_crypto", "openssl_crypto", "tracing"] }
default = async-std, local_tests, native_crypto

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

local_tests default

Some tests requires a prompt to be displayed, which can't be easily handled in CI unless we write a mock service. The feature allows to disabling those tests in CI

unstable

Enables unstable low-level API

Affects dbus::api, portal::api

async-std default

Enables async-fs, async-io, async-lock, blocking, and futures-lite, async-io of zbus

tokio

Enables tokio, tokio of zbus

native_crypto default

Enables aes, cbc, cipher, digest, hkdf, hmac, md-5, pbkdf2, sha2, and subtle

openssl_crypto

Enables openssl

Features from optional dependencies

tracing implicit feature

Enables tracing

tracing:

Application-level tracing for Rust