7 releases

Uses old Rust 2015

0.1.6 Mar 21, 2018
0.1.5 Jan 4, 2018
0.1.3 Dec 4, 2017
0.1.2 Nov 24, 2017
0.1.1 Oct 24, 2017

#11 in #name-service

49 downloads per month
Used in 7 crates (6 directly)

MIT/Apache

77KB
1.5K SLoC

NS Router Crate

Github | Documentaion | Crate

A configurable name resolver for abstract-ns. It does not have any actual name resolution implementations, but it allows:

  • Resolve different names by different means (say resolve *.consul in consul, but other TLDs using normal DNS)
  • Make a stream of addresses (i.e. resolve and update) from a list of names
  • Make a stream of addresses from stream of name lists so you can update config on the fly
  • Reconfigure router on the fly and get all streams updated

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~6.5MB
~103K SLoC