Cargo Features

Saft-sdf has no features set by default.

[dependencies]
saft-sdf = { version = "0.2.1", features = ["with_opcode_derives", "with_arbitrary", "with_serde", "with_speedy", "libm"] }
default

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

Enables std of macaw

with_opcode_derives = num_enum
with_arbitrary = arbitrary
with_serde = serde

Enables with_serde of macaw

with_speedy = speedy
libm

Enables libm of macaw and num-traits

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

num_enum with_opcode_derives?
serde with_serde?
speedy with_speedy?
arbitrary with_arbitrary?