Cargo Features

[dependencies]
tpmless-tpm2 = { version = "0.4.0", default-features = false, features = ["serialize", "backported_kdf"] }
default = backported_kdf

The backported_kdf feature is set by default whenever tpmless-tpm2 is added without default-features = false somewhere in the dependency tree.

serialize = hex, serde
backported_kdf default = openssl-kdf

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.

openssl-kdf backported_kdf

Enables openssl-kdf ^0.1

serde serialize?
hex serialize?