9 unstable releases (4 breaking)

0.16.0 Jan 15, 2025
0.15.1 Oct 6, 2024
0.15.0 Sep 7, 2024
0.14.3 Jan 12, 2024
0.12.0 Dec 5, 2022

#215 in Network programming

Download history 65839/week @ 2024-10-18 61493/week @ 2024-10-25 65918/week @ 2024-11-01 62408/week @ 2024-11-08 62317/week @ 2024-11-15 66060/week @ 2024-11-22 71657/week @ 2024-11-29 79994/week @ 2024-12-06 75413/week @ 2024-12-13 33385/week @ 2024-12-20 34244/week @ 2024-12-27 60329/week @ 2025-01-03 80618/week @ 2025-01-10 74050/week @ 2025-01-17 76090/week @ 2025-01-24 62475/week @ 2025-01-31

303,945 downloads per month
Used in 269 crates (8 directly)

MIT license

99KB
2K SLoC

Internet Gateway Device client

This is a simple library that communicates with an UPNP enabled gateway device (a router). Contributions and feedback are welcome. At the moment, you can search for the gateway, request the gateway's external address and, add/remove port mappings. See the examples/ folder for a demo.

Contributions are welcome! This is pretty delicate to test, please submit an issue if you have trouble using this.

License

MIT


lib.rs:

This library allows you to communicate with an IGD enabled device. Use one of the search_gateway functions to obtain a Gateway object. You can then communicate with the device via this object.

Dependencies

~3–18MB
~274K SLoC