Cargo Features
libp2p has no features set by default.
[dependencies]
libp2p = { version = "0.54.1", features = ["full", "async-std", "autonat", "cbor", "dcutr", "dns", "ecdsa", "ed25519", "floodsub", "gossipsub", "identify", "json", "kad", "macros", "mdns", "memory-connection-limits", "metrics", "noise", "ping", "plaintext", "pnet", "quic", "relay", "rendezvous", "request-response", "rsa", "secp256k1", "serde", "tcp", "tls", "tokio", "uds", "wasm-bindgen", "websocket-websys", "websocket", "webtransport-websys", "yamux", "upnp"] }
- full = async-std, autonat, cbor, dcutr, dns, ecdsa, ed25519, floodsub, gossipsub, identify, json, kad, macros, mdns, memory-connection-limits, metrics, noise, ping, plaintext, pnet, quic, relay, rendezvous, request-response, rsa, secp256k1, serde, tcp, tls, tokio, uds, upnp, wasm-bindgen, websocket, websocket-websys, webtransport-websys, yamux
- async-std full?
-
Enables async-std of optional libp2p-dns, async-io of optional libp2p-mdns, async-io of optional libp2p-tcp, async-std of libp2p-swarm and optional libp2p-quic
Affects
provider::AsyncStd
… - autonat full?
-
Enables libp2p-autonat
- cbor full?
-
Enables cbor of optional libp2p-request-response
- dcutr full?
-
Enables libp2p-dcutr, dcutr of optional libp2p-metrics
- dns full?
-
Enables libp2p-dns
- ecdsa full?
-
Enables ecdsa of libp2p-identity
- ed25519 full?
-
Enables ed25519 of libp2p-identity
- floodsub full?
-
Enables libp2p-floodsub
- gossipsub full?
-
Enables libp2p-gossipsub, gossipsub of optional libp2p-metrics
- identify full?
-
Enables libp2p-identify, identify of optional libp2p-metrics
- json full?
-
Enables json of optional libp2p-request-response
- kad full?
-
Enables libp2p-kad, kad of optional libp2p-metrics
- macros full?
-
Enables macros of libp2p-swarm
- mdns full?
-
Enables libp2p-mdns
- memory-connection-limits full?
-
Enables libp2p-memory-connection-limits
- metrics full?
-
Enables libp2p-metrics
- noise full?
-
Enables libp2p-noise
- ping full?
-
Enables libp2p-ping, ping of optional libp2p-metrics
- plaintext full?
-
Enables libp2p-plaintext
- pnet full?
-
Enables libp2p-pnet
- quic full?
-
Enables libp2p-quic
- relay full?
-
Enables libp2p-relay, relay of optional libp2p-metrics
- rendezvous full?
-
Enables libp2p-rendezvous
- request-response full?
-
Enables libp2p-request-response
- rsa full?
-
Enables rsa of libp2p-identity
- secp256k1 full?
-
Enables secp256k1 of libp2p-identity
- serde full?
-
Enables serde of libp2p-core, optional libp2p-gossipsub, and optional libp2p-kad
- tcp full?
-
Enables libp2p-tcp
- tls full?
-
Enables libp2p-tls
- tokio full?
-
Enables tokio of optional libp2p-dns, optional libp2p-mdns, optional libp2p-quic, libp2p-swarm, optional libp2p-tcp, and optional libp2p-upnp
Affects
provider::Tokio
… - uds full?
-
Enables libp2p-uds
- wasm-bindgen full?
-
Enables js of getrandom, wasm-bindgen of libp2p-swarm and optional libp2p-gossipsub and wasm-bindgen of futures-timer
Explicit dependency to be used in
wasm-bindgen
featureAffects
provider::WasmBindgen
… - websocket-websys full?
-
Enables libp2p-websocket-websys
- websocket full?
-
Enables libp2p-websocket
Affects
websocket::WebsocketError
… - webtransport-websys full?
-
Enables libp2p-webtransport-websys
- yamux full?
-
Enables libp2p-yamux
- upnp full?
-
Enables libp2p-upnp