Cargo Features
libp2p-identity has no features set by default.
[dependencies]
libp2p-identity = { version = "0.2.13", features = ["secp256k1", "ecdsa", "rsa", "ed25519", "peerid", "rand", "serde"] }
- secp256k1
-
Enables asn1_der, hkdf, k256, quick-protobuf, sha2, and zeroize
Affects
libp2p-identity::secp256k1… - ecdsa
-
Enables hkdf, p256, quick-protobuf, sec1, sha2, and zeroize
Affects
libp2p-identity::ecdsa… - rsa
-
Enables asn1_der, quick-protobuf, rand ^0.8, ring, and zeroize
Affects
libp2p-identity::rsa… - ed25519
-
Enables ed25519-dalek, hkdf, quick-protobuf, sha2, and zeroize
Affects
libp2p-identity::ed25519… - peerid
- rand
-
Enables rand ^0.8