varnish 0.6.0

A Rust framework for creating Varnish Caching Proxy extensions
Documentation
error: No functions or objects found in this module
 --> tests/fail/error_fn.rs:1:1
  |
1 | #[varnish::vmod]
  | ^^^^^^^^^^^^^^^^
  |
  = note: this error originates in the attribute macro `varnish::vmod` (in Nightly builds, run with -Z macro-backtrace for more info)

error: Only public functions and impl blocks are allowed inside a `mod` tagged with `#[varnish::vmod]`. Add `pub` or move this function outside of this mod.
 --> tests/fail/error_fn.rs:6:5
  |
6 |     fn non_public() {}
  |     ^^

error: async functions are not supported
 --> tests/fail/error_fn.rs:7:9
  |
7 |     pub async fn async_fn() {}
  |         ^^^^^

error: functions and methods must not be tagged as `unsafe` unless they return a VCL_* type
 --> tests/fail/error_fn.rs:8:9
  |
8 |     pub unsafe fn unsafe_fn() {}
  |         ^^^^^^

error: functions and methods that return a VCL_* type must be tagged as `unsafe`
 --> tests/fail/error_fn.rs:9:9
  |
9 |     pub fn ret_vcl() -> Result<VCL_STRING, &'static str> {
  |         ^^