Cargo Features
[dependencies]
darkfi-serial = { version = "0.4.1", default-features = false, features = ["derive", "async", "collections", "crypto", "hash", "url"] }
- default = derive
-
The
derive
feature is set by default wheneverdarkfi-serial
is added without
somewhere in the dependency tree.default-features = false - derive default = darkfi-derive
- async = futures-lite
- collections crypto?
- crypto = collections, hash, incrementalmerkletree, pasta_curves
- hash crypto? = blake3
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.
- darkfi-derive derive
- futures-lite async?
-
Enables futures-lite ^1.12.0
- blake3 hash?
-
Enables blake3
Supported types for encoding
- incrementalmerkletree crypto?
-
Enables incrementalmerkletree ^0.3.0
- pasta_curves crypto?
-
Enables pasta_curves ^0.4.1
- url implicit feature
-
Enables url
url:
URL library for Rust, based on the WHATWG URL Standard