Skip to content

Commit 1b90a03

Browse files
committed
build: drop unused serde direct dependency
`serde` (the crate) was listed in [dependencies] with the `derive` feature, but no code in this crate calls `use serde::*` or derives `Serialize`/`Deserialize`. Only `serde_json` is used. Removing it doesn't break any transitive dependency: pgwire and trino-rust-client pull serde in themselves. `cargo build`, `cargo test --lib`, and `cargo clippy --all-targets` all still pass.
1 parent fe7551a commit 1b90a03

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ tracing-subscriber = "0.3"
2020
anyhow = "1"
2121
serde_json = "1"
2222
trino-rust-client = "0.9"
23-
serde = { version = "1", features = ["derive"] }
2423
async-stream = "0.3"
2524
dashmap = "6"
2625
sqlparser = { version = "0.61", features = ["visitor"] }

0 commit comments

Comments
 (0)