#name #service #dns #service #discovery

ns-router

A configurable name resolver for abstract-ns

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

#1552 in Filesystem

Download history 39/week @ 2023-11-02 46/week @ 2023-11-09 29/week @ 2023-11-16 43/week @ 2023-11-23 47/week @ 2023-11-30 43/week @ 2023-12-07 40/week @ 2023-12-14 44/week @ 2023-12-21 19/week @ 2023-12-28 28/week @ 2024-01-04 36/week @ 2024-01-11 44/week @ 2024-01-18 31/week @ 2024-01-25 23/week @ 2024-02-01 31/week @ 2024-02-08 105/week @ 2024-02-15

194 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
~102K SLoC