Cargo Features
[dependencies]
satsnet_hashes = { version = "0.14.1", default-features = false, features = ["std", "alloc", "io", "small-hash", "schemars", "serde"] }
- default = std
-
The
std
feature is set by default wheneversatsnet_hashes
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of hex-conservative ^0.2.0 and satsnet-io
- alloc std
-
Enables alloc of hex-conservative ^0.2.0
- io = satsnet-io
-
If you want I/O you must enable either "std" or "io".
- 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.