## Rust prototype
+### Runtime requirements
+
+The agent will fail to start if it cannot write the collected info to
+Xenstore, so will only run in a Xen guest.
+
+When built without `-F static`, the agent depends on the availability
+of `libxenstore3.so` or `libxenstore4.so` (probed and loaded at
+runtime). This library can be found in the `libxenstore3` or
+`libxenstore4` package on Debian-based Linux distros, and in
+`xen-tools` in FreeBSD ports.
+
+When built with Netlink support on FreeBSD, the resulting binary will
+only work when the `netlink` module is loaded (check with `kldstat`,
+load with `kldload netlink`).
+
### Build requirements
You need a Rust 1.77 toolchain or later.
- pkg-config (on FreeBSD, provided by `pkgconf`)
- packages needed to build a crate linking against a native lib
(`llvm-dev` and `clang` on Debian-based Linux distros)
-- development files for libxenstore (package `libxen-dev` on
- Debian-based Linux distros, `xen-tools` on FreeBSD)
+- building as a static binary requires development files for
+ libxenstore (package `libxen-dev` on Debian-based Linux distros,
+ `xen-tools` on FreeBSD)
### How to build