mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-09-22 17:55:02 +02:00
18d56a643105fbaff0dde4897776d0dde7ef245c
* introduce and Env trait to mock the outside world * make argument parsing unit-testable * add get_stderr to FakeEnv * fakecmd and print errors into the env * change ExitCode::from to into Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com> * update some comments * cargo fmt * document some more of the testing utilities * use exit_code method on clap errors * bump minimal clap version * reexport RealEnv * remove .lock() calls for stdout and stderr * remove args field from FakeCmd * improve docs for Env * cargo fmt * use mutex in FakeStream * improve FmtWriter implementation for a tiny bit more performance * car go ffffffmmmmmmtttttt --------- Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com>
A set of binaries that reimplement some of the widely used ldns utilities
in the Rust programming language. These support low-level DNS and DNSSEC
operations and define a higher level API which, for example, allow you create
or sign packets.
In 2024, we will offer a drop-in replacement of the following tools:
- key2ds
- keygen
- nsec3hash
- signzone
- notify
- update
Languages
Rust
98.8%
Dockerfile
0.8%
NewLisp
0.2%
Shell
0.2%