6 releases (3 breaking)

0.4.0 Feb 26, 2025
0.3.1 Jan 14, 2025
0.3.0 Dec 16, 2024
0.2.1 Dec 2, 2024
0.1.0 Nov 4, 2024

#1524 in Network programming

Download history 1099/week @ 2024-11-15 1115/week @ 2024-11-22 3284/week @ 2024-11-29 2920/week @ 2024-12-06 3088/week @ 2024-12-13 1224/week @ 2024-12-20 1174/week @ 2024-12-27 2264/week @ 2025-01-03 2589/week @ 2025-01-10 2125/week @ 2025-01-17 2298/week @ 2025-01-24 2601/week @ 2025-01-31 2514/week @ 2025-02-07 2582/week @ 2025-02-14 2913/week @ 2025-02-21 2054/week @ 2025-02-28

10,429 downloads per month
Used in 27 crates (5 directly)

MIT/Apache

270KB
6K SLoC

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

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.


lib.rs:

Port mapping client and service.

Dependencies

~11–40MB
~600K SLoC