AnyBot/clippy.toml

7 lines
430 B
TOML

# AnyBot's own lint rules (cargo clippy reads this). Engineering plan E5/E6.
disallowed-methods = [
# One TLS policy for every HTTP client: the public certificates plus the ones this computer
# trusts (net.rs). A client built elsewhere used to fail on a company's own certificate.
{ path = "ureq::Agent::config_builder", reason = "use crate::net::config() or crate::net::agent(): one set of trusted certificates" },
]