8 releases

0.15.1 Oct 6, 2024
0.15.0 Sep 7, 2024
0.14.3 Jan 12, 2024
0.14.2 Jul 28, 2023
0.12.0 Dec 5, 2022

#277 in Network programming

Download history 47563/week @ 2024-08-02 65230/week @ 2024-08-09 49377/week @ 2024-08-16 58449/week @ 2024-08-23 65569/week @ 2024-08-30 62655/week @ 2024-09-06 60084/week @ 2024-09-13 65258/week @ 2024-09-20 57566/week @ 2024-09-27 69023/week @ 2024-10-04 63306/week @ 2024-10-11 65839/week @ 2024-10-18 61493/week @ 2024-10-25 65918/week @ 2024-11-01 62408/week @ 2024-11-08 62284/week @ 2024-11-15

265,423 downloads per month
Used in 205 crates (6 directly)

MIT license

98KB
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
~270K SLoC