1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Clippy configuration for solid-pod-rs
# Docs: https://rust-lang.github.io/rust-clippy/master/index.html
# Minimum supported Rust version. Any lint that requires a newer feature will
# be silenced below this version. Kept in lockstep with the workspace
# `rust-version` (Cargo.toml) and the `msrv` CI job. The committed Cargo.lock
# floor is 1.88 (actix-web 4.13, serde_with 3.18, darling 0.23 all require it).
= "1.88"
# Complexity thresholds — kept close to defaults but tightened where it makes
# sense for a server-side library that favours small, auditable functions.
= 25
= 8
= 250
= 150
= 4
= 64
# Prevent accidental panics in production paths. `expect`/`unwrap` should be
# justified; tests and examples are exempted elsewhere.
= true
= true
= true
= true
= true
# Avoid shadowing that hides ownership transitions.
= ["Latin"]
# Documentation hygiene — real-world acronyms we use that clippy flags as typos.
= [
"WAC", "LDP", "WebID", "OIDC", "DPoP", "RDF", "OWL", "SPARQL", "Solid",
"Turtle", "N3", "JSON-LD", "WebSocket", "S3", "R2", "CORS", "HTTP",
"HTTPS", "URI", "URL", "URN", "UTF-8",
]
# Allow upper-case acronyms used as enum variants, struct names, etc.
= false