Cargo Features
[dependencies]
groestlcoin_hashes = { version = "0.13.0", default-features = false, features = ["std", "alloc", "serde-std", "core2", "small-hash", "schemars"] }
- default = std
-
The
std
feature is set by default whenevergroestlcoin_hashes
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of hex-conservative ^0.1.1
- alloc std
-
Enables alloc of hex-conservative ^0.1.1
- serde-std
-
Only enable this if you explicitly do not want to use "std", otherwise enable "serde-std".
- core2 = actual-core2
-
If you want I/O you must enable either "std" or "core2".
Enables core2 of hex-conservative ^0.1.1
- small-hash
-
Smaller (but slower) implementation of sha256, sha512 and ripemd160
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.
- schemars implicit feature
-
Enables schemars
schemars:
Generate JSON Schemas from Rust code
Affects
util::json_hex_string
… - serde serde-std?
-
Affects
serde_macros::serde_details
… - actual-core2 core2?
-
Enables core2 ^0.3.2
Do NOT use this feature! Use the "core2" feature instead.