1 unstable release

new 0.3.1 Dec 10, 2024

#3 in #behaviour


Used in ant-libp2p

MIT license

35KB
574 lines

Implementation of UPnP port mapping for libp2p.

This crate provides a tokio::Behaviour which implements the libp2p_swarm::NetworkBehaviour trait. This struct will automatically try to map the ports externally to internal addresses on the gateway.

Dependencies

~9–20MB
~278K SLoC