6 releases

0.14.3 Jan 12, 2024
0.14.2 Jul 28, 2023
0.13.1 Feb 5, 2023
0.12.0 Dec 5, 2022

#753 in Network programming

Download history 10618/week @ 2024-01-01 12724/week @ 2024-01-08 15254/week @ 2024-01-15 15161/week @ 2024-01-22 18301/week @ 2024-01-29 18072/week @ 2024-02-05 17901/week @ 2024-02-12 22655/week @ 2024-02-19 20160/week @ 2024-02-26 23227/week @ 2024-03-04 24917/week @ 2024-03-11 25319/week @ 2024-03-18 24973/week @ 2024-03-25 27341/week @ 2024-04-01 24043/week @ 2024-04-08 25215/week @ 2024-04-15

102,914 downloads per month
Used in 53 crates (4 directly)

MIT license

93KB
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–19MB
~286K SLoC