Crates.io | abstract-ns |
lib.rs | abstract-ns |
version | 0.4.3 |
source | src |
created_at | 2016-02-12 19:52:24.563399 |
updated_at | 2018-02-19 22:34:19.759728 |
description | Abstract name service traits for use with futures (and tokio) |
homepage | https://github.com/tailhook/abstract-ns |
repository | |
max_upload_size | |
id | 4157 |
size | 64,565 |
Status: Beta
Documentation | Github | Crate
This rust crate provides just abstract traits which may be used to build interoperable implementations of name dicovery.
We want abstract_ns to have implementations not only for DNS-based name discovery but also Zookeeper, Eureka, Etcd, Consul, and whatever other thing you might imagine. All of them easily configured and interchangeable.
Features:
*.consul
from local
consul, other names from conventional DNS servers.This repository also contains the following crates:
ns-std-threaded
a name resolution implementation that uses stdlib
resolver running in a thread poolns-dns-tokio
an pure-rust implementation that uses domain
crate to
resolve domains asynchronously in tokio-core
main loopNote: abstract-ns v0.2 is very different product than v0.1
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.