public-stun 0.1.1

A list of public STUN servers in crate form.
Documentation

public-stun

CI crates.io Documentation dependency status MIT

A list of public STUN servers in crate form.

Based on the public STUN server list maintained by pradt2.

Usage

The crate supports to ways to get the list of STUN servers:

Packaged servers:

// The list is packaged with the crate and may be outdated.
let servers = public_stun::packaged::list_servers();

Fetched servers:

// The list is fetched from the source repository and is always up to date.
let servers = public_stun::fetched::list_servers().await.unwrap();

License

Licensed under MIT license (LICENSE or http://opensource.org/licenses/MIT)