18d56a6431 Introduce an Env trait to mock the outside world (#23)
* 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>
2024-11-15 13:47:18 +01:00
2024-11-11 15:55:57 +01:00
2024-08-28 13:21:28 +02:00
2024-10-23 12:33:23 +02:00

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
S
Description
No description provided
Readme BSD-3-Clause
6.1 MiB
Languages
Rust 98.8%
Dockerfile 0.8%
NewLisp 0.2%
Shell 0.2%