Find a file
2024-08-13 15:39:14 +07:00
example public release 2024-08-13 15:39:14 +07:00
unbound-mod public release 2024-08-13 15:39:14 +07:00
.gitignore public release 2024-08-13 15:39:14 +07:00
Cargo.lock public release 2024-08-13 15:39:14 +07:00
Cargo.toml public release 2024-08-13 15:39:14 +07:00
dummy.h init 2024-08-09 15:27:40 +07:00
flake.lock add nix package 2024-08-12 05:41:21 +07:00
flake.nix public release 2024-08-13 15:39:14 +07:00
LICENSE public release 2024-08-13 15:39:14 +07:00
README.md public release 2024-08-13 15:39:14 +07:00

unbound-rust-mod

This is a library for writing Unbound modules in Rust. See example for an example module.

Most of Unbound's features don't have safe bindings, so you might have to write some yourself - in that case, PRs are appreciated.

To regenerate the bindings, there's a small problem - you actually need to run Unbound's configure script for that. That's why I provide a Nix file to generate them (running nix build .#bindings in project root will produce the bindings at the result symlink). Alternatively, you may call rust-bindgen manually.