Find a file
2024-08-14 04:07:36 +07:00
example better docs or something like that 2024-08-13 19:08:57 +07:00
unbound add cstr function for safe bindings 2024-08-14 04:07:36 +07:00
unbound-sys better docs or something like that 2024-08-13 19:08:57 +07:00
.gitignore public release 2024-08-13 15:39:14 +07:00
Cargo.lock better docs or something like that 2024-08-13 19:08:57 +07:00
Cargo.toml better docs or something like that 2024-08-13 19:08:57 +07:00
dummy.h fix bindings 2024-08-13 16:09:29 +07:00
flake.lock add nix package 2024-08-12 05:41:21 +07:00
flake.nix better docs or something like that 2024-08-13 19:08:57 +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.