flytrap 0.2.1

Query the Fly.io runtime environment
Documentation
1
2
3
4
5
6
7
use flytrap::Region;

fn main() {
    for (code, details) in Region::all() {
        println!("{}\t{}", code, details.name);
    }
}