Varnish bindings, notably to build vmods
varnish-rs
works on stable Rust and should be fine with more recent versions too. If it doesn't, plus open an issue.
varnish-rs
relies on varnish-sys
(in this same repository) to generate bindings from the libvarnish
headers which you will need to install, depending on you linux distribution, the related package can be named varnish-devel
, varnish-dev
or maybe libvarnish-dev
.
Right now, the only Varnish version supported is 7.0
.
bash
git clone https://github.com/gquintard/varnish-rs.git
cd varnish-rs
cargo build