Cargo Features
[dependencies]
flow-sdk = { version = "1.0.1", default-features = false, features = ["sha3-hash", "secp256k1-sign", "secp256k1-rand", "tonic-transport"] }
- default = secp256k1-sign, sha3-hash, tonic-transport
-
These default features are set whenever
flow-sdk
is added without
somewhere in the dependency tree.default-features = false - sha3-hash default = tiny-keccak
-
Affects
algorithms::sha3
… - secp256k1-sign default secp256k1-rand? = secp256k1
-
Affects
algorithms::secp256k1
… - secp256k1-rand = rand, secp256k1-sign
-
Enables rand of secp256k1 ^0.20.3
Affects
algorithms::rand
… - tonic-transport default
-
Enables transport of tonic ^0.5.2
gRPC library
Affects
client::TonicHyperClient
,client::TonicHyperFlowClient
…
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.
- tiny-keccak sha3-hash
- secp256k1 secp256k1-rand? secp256k1-sign
-
Enables secp256k1 ^0.20.3
- rand secp256k1-rand?
-
Enables rand ^0.6.5