Cargo Features

ant-libp2p has no features set by default.

[dependencies]
ant-libp2p = { version = "0.54.2", 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-io of optional ant-libp2p-tcp, async-std of optional libp2p-dns ^0.42.0, async-io of optional libp2p-mdns ^0.46.0, async-std of ant-libp2p-swarm and optional ant-libp2p-quic

Affects provider::AsyncStd

autonat full?

Enables ant-libp2p-autonat

cbor full?

Enables cbor of optional ant-libp2p-request-response

dcutr full?

Enables ant-libp2p-dcutr, dcutr of optional libp2p-metrics ^0.15.0

dns full?

Enables libp2p-dns ^0.42.0

ecdsa full?

Enables ecdsa of libp2p-identity

ed25519 full?

Enables ed25519 of libp2p-identity

floodsub full?

Enables libp2p-floodsub ^0.45.0

gossipsub full?

Enables ant-libp2p-gossipsub, gossipsub of optional libp2p-metrics ^0.15.0

identify full?

Enables ant-libp2p-identify, identify of optional libp2p-metrics ^0.15.0

json full?

Enables json of optional ant-libp2p-request-response

kad full?

Enables ant-libp2p-kad, kad of optional libp2p-metrics ^0.15.0

macros full?

Enables macros of ant-libp2p-swarm

mdns full?

Enables libp2p-mdns ^0.46.0

memory-connection-limits full?

Enables ant-libp2p-memory-connection-limits

metrics full?

Enables libp2p-metrics ^0.15.0

noise full?

Enables ant-libp2p-noise

ping full?

Enables ant-libp2p-ping, ping of optional libp2p-metrics ^0.15.0

plaintext full?

Enables ant-libp2p-plaintext

pnet full?

Enables libp2p-pnet ^0.25.0

quic full?

Enables ant-libp2p-quic

relay full?

Enables ant-libp2p-relay, relay of optional libp2p-metrics ^0.15.0

rendezvous full?

Enables libp2p-rendezvous ^0.15.0

request-response full?

Enables ant-libp2p-request-response

rsa full?

Enables rsa of libp2p-identity

secp256k1 full?

Enables secp256k1 of libp2p-identity

serde full?

Enables serde of ant-libp2p-core, optional ant-libp2p-gossipsub, and optional ant-libp2p-kad

tcp full?

Enables ant-libp2p-tcp

tls full?

Enables libp2p-tls ^0.5.0

tokio full?

Enables tokio of optional ant-libp2p-quic, ant-libp2p-swarm, optional ant-libp2p-tcp, optional ant-libp2p-upnp, optional libp2p-dns ^0.42.0, and optional libp2p-mdns ^0.46.0

Affects provider::Tokio

uds full?

Enables libp2p-uds ^0.41.0

wasm-bindgen full?

Enables js of getrandom ^0.2.3 and wasm-bindgen of ant-libp2p-swarm, futures-timer, and optional ant-libp2p-gossipsub

futures-timer:

Explicit dependency to be used in wasm-bindgen feature

Affects provider::WasmBindgen

websocket-websys full?

Enables ant-libp2p-websocket-websys

websocket full?

Enables ant-libp2p-websocket

Affects websocket::WebsocketError

webtransport-websys full?

Enables ant-libp2p-webtransport-websys

yamux full?

Enables ant-libp2p-yamux

upnp full?

Enables ant-libp2p-upnp