build(deps): disable unused default features (#10331)

Drops 6 crates from the release build and 7 from the workspace test
build, with no source changes.

- geo: no triangulation, only Contains/Intersects/Haversine (spade, earcut)
- jsonwebtoken: HS256 from_secret only, no PEM keys (pem, simple_asn1)
- tar: nothing sets unpack_xattrs, which defaults to false (xattr)
- duplicate: every duplicate_item names its module (proc-macro2-diagnostics)
- pprof: no C++ frames to demangle (cpp_demangle)

Also promotes duplicate to a workspace dependency.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Arnaud Gourlay
2026-08-26 09:25:08 +02:00
committed by GitHub
co-authored by Claude Opus 5
parent c6dcb8c8fd
commit 384cb79b15
5 changed files with 8 additions and 98 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ zerocopy = { workspace = true }
[dev-dependencies]
criterion = { workspace = true }
dataset = { path = "../common/dataset" }
duplicate = "2.0.1"
duplicate = { workspace = true }
fs-err = { workspace = true, features = ["debug"] }
indicatif = { workspace = true }
sha2 = { workspace = true }