large-error-threshold = 256 # in bytes allow-unwrap-in-tests = true # for `disallowed_method`: # https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_method disallowed-methods = [ { path = "std::io::Write::write", reason = "This doesn't handle short writes, use `write_all` instead." }, { path = "vrl::stdlib::all", reason = "Use `vector_vrl_functions::all()` instead for consistency across all Vector VRL functions." }, ] disallowed-types = [ { path = "once_cell::sync::OnceCell", reason = "Use `std::sync::OnceLock` instead." }, { path = "once_cell::unsync::OnceCell", reason = "Use `std::cell::OnceCell` instead." }, { path = "once_cell::sync::Lazy", reason = "Use `std::sync::LazyLock` instead." }, { path = "once_cell::unsync::Lazy", reason = "Use `std::sync::LazyCell` instead." }, ]