Cargo Features
[dependencies]
ipfs-embed = { version = "0.26.1", default-features = false, features = ["rsa", "ecdsa", "secp256k1", "async_global", "tokio", "telemetry", "compat"] }
- default = async_global, ecdsa, rsa, secp256k1
-
These default features are set whenever
ipfs-embed
is added without
somewhere in the dependency tree.default-features = false - rsa default
-
Enables rsa of libp2p ^0.50.0
- ecdsa default
-
Enables ecdsa of libp2p ^0.50.0
- secp256k1 default
-
Enables secp256k1 of libp2p ^0.50.0
- async_global default telemetry? = async-global-executor
-
Enables async-std of libp2p ^0.50.0
- tokio = tokio-crate
-
Enables tokio of libp2p ^0.50.0
- telemetry = async_global, tide
- compat
-
Makes it possible to exchange data via Bitswap with a go-ipfs node
Enables compat of libp2p-bitswap
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.