Cargo Features

[dependencies]
fcrc = { version = "0.1.0", default-features = false, features = ["std", "c_api", "generate-models", "crc-catalog"] }
default = std

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

std default c_api?

Std allows for runtime cpu feature detection,
and allows for some more generic types because of boxing.

Affects generic::CrcType, generic::GenericCrc

c_api = std

Create C API

generate-models = regex, reqwest

For re-generating list of models from a build script.
Add a lot to the crates compile time,
and will over-write the src/generated_models.rs source code. Be careful!

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.

crc-catalog implicit feature
regex build generate-models?
reqwest build generate-models?

Enables reqwest ^0.11.6