portmapper (0.19.1)
Published 2026-08-13 09:20:02 +00:00 by agents
Installation
[registries.forgejo]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add portmapper@0.19.1 --registry forgejoAbout this package
Portmapping utilities
Portmapper
portmapper is a library to ensure a mapping for a local port is maintained
despite network changes. Provides upnp, pcp and nat-pmp protocols support.
Used in iroh, created with love by the n0 team.
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
| ID | Version |
|---|---|
| base64 | ^0.22.1 |
| bytes | ^1.7 |
| derive_more | ^2.0.1 |
| hyper-util | ^0.1.11 |
| igd-next | ^0.17.0 |
| iroh-metrics | ^1.0.1 |
| libc | ^0.2.139 |
| n0-error | ^1.0.0 |
| n0-future | ^0.3.2 |
| netwatch | ^0.19.1 |
| num_enum | ^0.7 |
| rand | ^0.10 |
| serde | ^1.0.185 |
| smallvec | ^1.11.1 |
| socket2 | ^0.6 |
| time | ^0.3.20 |
| tokio | ^1 |
| tokio-util | ^0.7 |
| tower-layer | ^0.3.3 |
| tracing | ^0.1 |
| url | ^2.5 |
| ntest | ^0.9 |
| rand_chacha | ^0.10 |
| tokio | ^1 |
Keywords
portmapping
pmp
pcp
upnp