Skip to content

Commit f65b7cf

Browse files
chore(vendor): silence upstream lint noise in vendored libsql (#272)
Cargo treats path dependencies as local code, so the vendored libsql copy printed nine upstream warnings (mismatched_lifetime_syntaxes, private_interfaces) on every check/clippy run. Allow the two lints in the vendored crate's own manifest; the block is dropped together with the vendor patch once upstream makes disconnect idempotent. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent bd73036 commit f65b7cf

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

vendor/libsql/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ readme = "README.md"
2525
license = "MIT"
2626
repository = "https://github.com/tursodatabase/libsql"
2727

28+
# Local addition to the vendored copy (see [patch.crates-io] in the workspace
29+
# Cargo.toml): cargo treats path dependencies as local code and prints their
30+
# warnings on every check/clippy run. Silence the two upstream lints so
31+
# workspace builds stay noise-free; drop with the vendor patch itself.
32+
[lints.rust]
33+
mismatched_lifetime_syntaxes = "allow"
34+
private_interfaces = "allow"
35+
2836
[package.metadata.cargo-udeps.ignore]
2937
normal = ["hyper-rustls"]
3038

0 commit comments

Comments
 (0)