#dns #run-time #abstraction-layer #agnostic #sans-io #async #hickory-dns

agnostic-dns

agnostic-dns is a Sans-I/O abstraction layer over hickory-dns

2 unstable releases

new 0.2.0 Jan 30, 2025
0.1.0 Jan 27, 2025

#901 in Asynchronous

Download history 77/week @ 2025-01-22

77 downloads per month
Used in 6 crates (via agnostic)

MIT/Apache

155KB
3.5K SLoC

Agnostic DNS

agnostic-dns is a Sans-I/O abstraction layer over hickory-dns.

github LoC Build codecov

docs.rs crates.io crates.io license

Introduction

agnostic-dns is an async runtime agnostic layer over hickory-dns.

Builtin supports runtimes:

  • tokio
  • async-std
  • smol

Installation

[dependencies]
agnostic-dns = "0.1"
  • tokio

    agnostic-dns = { version = "0.1", features = ["tokio"] }
    
  • smol

    agnostic-dns = { version = "0.1", features = ["smol"] }
    
  • async-std

    agnostic-dns = { version = "0.1", features = ["async-std"] }
    

License

agnostic-dns is under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE, LICENSE-MIT for details.

Copyright (c) 2025 Al Liu.

Dependencies

~14–29MB
~468K SLoC