Move test-only dependencies to dev-dependencies and update versions

- Move approx and serde to dev-dependencies (not needed at runtime)
- Update svg from 0.17 to 0.18
- Update criterion from 0.5 to 0.8
- Remove unused release-with-debug profile
This commit is contained in:
codetiger
2025-12-21 20:21:16 +05:30
parent 4d2da6e0e7
commit 324d1f36ac
+4 -15
View File
@@ -12,19 +12,19 @@ integration-tests = ["dep:sangam-io", "dep:svg", "dep:image", "dep:serde_yaml"]
[dependencies]
rstar = "0.12" # R-tree spatial index
log = "0.4" # Logging
approx = "0.5" # Approximate comparisons
rand = "0.9" # RANSAC randomness
# Integration test dependencies (optional)
sangam-io = { path = "../sangam-io", features = ["mock"], optional = true }
svg = { version = "0.17", optional = true }
svg = { version = "0.18", optional = true }
image = { version = "0.25", default-features = false, features = ["png", "pnm"], optional = true }
serde_yaml = { version = "0.9", optional = true }
serde = { version = "1.0", features = ["derive"] }
[dev-dependencies]
criterion = "0.5" # Benchmarks
criterion = "0.8" # Benchmarks
env_logger = "0.11" # Test logging
approx = "0.5" # Approximate comparisons (tests only)
serde = { version = "1.0", features = ["derive"] } # Test config parsing
[[test]]
name = "integration"
@@ -37,14 +37,3 @@ lto = true
codegen-units = 1 # Better optimization, slower compile
panic = "abort" # Smaller binary, no unwinding overhead
strip = true # Strip debug symbols for smaller binary
# Release with debug info (for profiling)
[profile.release-with-debug]
inherits = "release"
debug = true
strip = false
# Benchmarks (uncomment when ready)
# [[bench]]
# name = "simd_bench"
# harness = false