API Docs | Usage | Github | Crate
An env_logger-inspired one-stop configuration for name resolution based on abstract-ns.
Goals:
Features:
RUST_NS=resolver_name
RUST_NS=resolver_name:option=value
)RUST_NS=std,consul=consul-resolver
)Non-goals:
shell
$ RUST_NS=std ./your-app
Since standard library resolver is not asynchronous we run resolver in a thread pool.
Parameters:
poll_ivl
-- polling interval for subscriptions in seconds, default 1
threads
-- number of threads for name resolution, default 4
Biggest declaration is something like this:
shell
$ RUST_NS=std:poll_ivl=10:threads=16 ./your-app
Licensed under either of
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.