Cargo Features

[dependencies]
tpm2 = { version = "0.0.4", default-features = false, features = ["std", "alloc"] }
default = std

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

std default = alloc
alloc std

TPM2 has 3 features without comments.