Cargo Features
[dependencies]
p256-cortex-m4 = { version = "0.1.0-alpha.6", default-features = false, features = ["sec1-signatures", "prehash", "non-cortex-m4-fallback"] }
- default = non-cortex-m4-fallback
-
The
non-cortex-m4-fallback
feature is set by default wheneverp256-cortex-m4
is added without
somewhere in the dependency tree.default-features = false - sec1-signatures = der
- prehash = sha2
-
Affects
p256-cortex-m4::sha256
… - non-cortex-m4-fallback default = ecdsa, elliptic-curve, p256
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.
- der sec1-signatures?
-
Enables der ^0.4
- ecdsa non-cortex-m4-fallback
-
Enables ecdsa ^0.12
- elliptic-curve non-cortex-m4-fallback
-
Enables elliptic-curve ^0.10
- sha2 prehash?
-
Enables sha2 ^0.9
- p256 non-cortex-m4-fallback
-
Enables p256 ^0.9