Cargo Features
[dependencies]
veriform = { version = "0.2.0", default-features = false, features = ["std", "alloc", "builtins", "builtins-std", "log", "sha2", "veriform_derive"] }
- default = builtins-std, sha2, veriform_derive
-
These default features are set whenever
veriform
is added without
somewhere in the dependency tree.default-features = false - std builtins-std = alloc
- alloc std?
-
Affects
message::Message.encode_vec
… - builtins = tai64, uuid
- builtins-std default = std
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.
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust
- sha2 default
-
Enables sha2 ^0.8
Affects
veriform::Decoder
,veriform::Sha256Digest
… - tai64 builtins? builtins-std
-
Enables tai64 ^3
Affects
veriform::builtins
… - uuid builtins? builtins-std
-
Enables uuid ^0.8
Affects
veriform::builtins
… - veriform_derive default
-
Affects
veriform::derive_helpers
…