Cargo Features

[dependencies]
miniotp = { version = "2.0.0", default-features = false, features = ["std", "alloc", "cstr", "only-gauth", "abomonation_impl", "base32", "serde"] }
default = base32, cstr, only-gauth

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

std cstr

Enables std of ring

Affects miniotp::simple, totp::b32

alloc

Affects totp::b32

cstr default = std
only-gauth default
abomonation_impl = abomonation, abomonation_derive

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.

base32 default

Affects totp::b32

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

abomonation_derive abomonation_impl?
abomonation abomonation_impl?