-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (34 loc) · 1.29 KB
/
Cargo.toml
File metadata and controls
38 lines (34 loc) · 1.29 KB
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
[workspace]
members = ["crates/maps", "crates/maps_io_ros", "crates/maps_rendering"]
# Build / test all crates also when calling cargo without --workspace.
default-members = ["crates/maps", "crates/maps_io_ros", "crates/maps_rendering"]
resolver = "2"
[profile.kittest]
# kittests would be a bit too slow without optimizations.
inherits = "release"
# Shared dependencies across workspace members.
[workspace.dependencies]
# Use core libs from path for local development, and version when publishing.
maps_io_ros = { path = "crates/maps_io_ros", version = "0.3.0" }
maps_rendering = { path = "crates/maps_rendering", version = "0.4.0" }
image = { version = "0.25.5", features = ["jpeg", "png", "pnm"] }
imageproc = "0.25.0"
lazy_static = "1.5.0"
log = "0.4.22"
serde = { version = "1.0", features = ["derive"] }
serde_yaml_ng = "0.10.0"
strum = { version = "0.26.3", features = ["derive"] }
strum_macros = "0.26.3"
thiserror = "2.0.16"
# Enable selected pedantic lints.
# To check all pedantic lints, alternatively add pedantic = "warn" here.
[workspace.lints.clippy]
manual_let_else = "warn"
match_same_arms = "warn"
needless_pass_by_value = "warn"
redundant_else = "warn"
ref_option = "warn"
trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
[profile.release]
opt-level = 2 # fast and small wasm