forked from copper-project/copper-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
190 lines (167 loc) · 6.59 KB
/
Copy pathCargo.toml
File metadata and controls
190 lines (167 loc) · 6.59 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
[workspace]
members = [
"core/cu29",
"core/cu29_clock",
"core/cu29_derive",
"core/cu29_export",
"core/cu29_helpers",
"core/cu29_intern_strs",
"core/cu29_log",
"core/cu29_log_derive",
"core/cu29_log_runtime",
"core/cu29_runtime",
"core/cu29_soa_derive",
"core/cu29_traits",
"core/cu29_unifiedlog",
"components/bridges/cu_crsf",
"components/bridges/cu_msp_bridge",
"components/libs/cu_msp_lib",
"components/libs/cu_embedded_registry",
"components/libs/cu_transform",
"components/monitors/cu_consolemon",
"components/monitors/cu_logmon",
"components/payloads/cu_ros_payloads",
"components/payloads/cu_sensor_payloads",
"components/payloads/cu_spatial_payloads",
"components/res/cu_micoairh743",
"components/libs/cu_sdlogger",
"components/bridges/cu_bdshot",
"components/sinks/cu_iceoryx2_sink",
"components/sinks/cu_rp_gpio",
"components/sinks/cu_rp_sn754410",
"components/sinks/cu_lewansoul",
"components/sinks/cu_zenoh_sink",
"components/sinks/cu_zenoh_ros_sink",
"components/sources/cu_ads7883",
"components/sources/cu_bmi088",
"components/sources/cu_gstreamer",
"components/sources/cu_hesai",
"components/sources/cu_livox",
"components/sources/cu_mpu9250",
"components/sources/cu_iceoryx2_src",
"components/sources/cu_v4l",
"components/sources/cu_vlp16",
"components/sources/cu_wt901",
"components/sources/cu_rp_encoder",
"components/tasks/cu_aligner",
"components/tasks/cu_ahrs",
"components/tasks/cu_apriltag",
"components/tasks/cu_dynthreshold",
"components/tasks/cu_pid",
"components/tasks/cu_ratelimit",
"components/testing/cu_udp_inject",
"examples/cu_elrs_bdshot_demo",
"examples/cu_background_task",
"examples/cu_flight_controller",
"examples/cu_bridge_test",
"examples/cu_caterpillar",
"examples/cu_config_gen",
"examples/cu_config_variation",
"examples/cu_dorabench",
"examples/cu_image_aligner",
"examples/cu_iceoryx2",
"examples/cu_logging_size",
"examples/cu_msp_bridge_loopback",
"examples/cu_monitoring",
"examples/cu_min_baremetal",
"examples/cu_missions",
"examples/cu_multisources",
"examples/cu_multisources_structs",
"examples/cu_resources_test",
"examples/cu_nologging_task",
"examples/cu_rate_target",
"examples/cu_pointclouds",
"examples/cu_rp_balancebot",
"examples/cu_run_in_sim",
"examples/cu_standalone_structlog",
"examples/cu_zenoh",
"examples/cu_zenoh_ros",
]
# put only the core crates here that are not platform specific
default-members = [
"core/cu29",
"core/cu29_clock",
"core/cu29_derive",
"core/cu29_export",
"core/cu29_intern_strs",
"core/cu29_log",
"core/cu29_log_derive",
"core/cu29_log_runtime",
"core/cu29_runtime",
"core/cu29_soa_derive",
"core/cu29_traits",
"core/cu29_unifiedlog",
]
resolver = "2"
[profile.release]
debug = 2
[workspace.package]
version = "0.11.0"
authors = ["Guillaume Binet <gbin@gootz.net>"]
edition = "2024"
license = "Apache-2.0"
keywords = ["robotics", "middleware", "copper", "real-time"]
categories = ["science::robotics"]
homepage = "https://github.com/copper-project"
repository = "https://github.com/copper-project/copper-rs"
[workspace.metadata.workspaces]
no_individual_tags = true
[workspace.dependencies]
# Copper Core
cu29 = { path = "core/cu29", version = "0.11.0" } # default std
cu29-clock = { path = "core/cu29_clock", default-features = false, version = "0.11.0" }
cu29-derive = { path = "core/cu29_derive", default-features = false, version = "0.11.0" }
cu29-export = { path = "core/cu29_export", version = "0.11.0" } # std only
cu29-helpers = { path = "core/cu29_helpers", version = "0.11.0" } # std only
cu29-intern-strs = { path = "core/cu29_intern_strs", version = "0.11.0" } # std only
cu29-log = { path = "core/cu29_log", default-features = false, version = "0.11.0" }
cu29-log-derive = { path = "core/cu29_log_derive", default-features = false, version = "0.11.0" }
cu29-log-runtime = { path = "core/cu29_log_runtime", default-features = false, version = "0.11.0" }
cu29-runtime = { path = "core/cu29_runtime", default-features = false, version = "0.11.0" }
cu29-soa-derive = { path = "core/cu29_soa_derive", default-features = false, version = "0.11.0" }
cu29-traits = { path = "core/cu29_traits", default-features = false, version = "0.11.0" }
cu29-unifiedlog = { path = "core/cu29_unifiedlog", default-features = false, features = ["compact"], version = "0.11.0" }
cu29-value = { path = "core/cu29_value", default-features = false, version = "0.11.0" }
# Payload definitions
cu-sensor-payloads = { path = "components/payloads/cu_sensor_payloads", version = "0.11.0" }
cu-ros-payloads = { path = "components/payloads/cu_ros_payloads", version = "0.11.0" }
# External serialization
bincode = { package = "cu-bincode", version = "2.0", default-features = false, features = ["derive", "alloc"] }
serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] }
erased-serde = { version = "0.4", default-features = false, features = ["alloc"] }
serde_derive = { version = "1.0", features = ["default"] }
# External CLI
clap = { version = "4.5", features = ["derive"] }
# External proc macros
proc-macro2 = { version = "1.0" }
quote = "1.0" # proc macros
syn = { version = "2.0", features = ["full"] } # proc macros
# Unit of measure to be consistent across the project
uom = { version = "0.37", features = ["serde"] }
# Compact strings support
compact_str = { version = "0.9", default-features = false, features = ["serde"] }
# The derive pattern happens a lot across the codebase, this is a helper for that.
derive_more = { version = "2.0", features = ["full"] }
paste = { version = "1.0.15", default-features = false }
# used across testing
tempfile = "3.23"
spin = { version = "0.10" } # should be removed when std is on, but cargo is bad at negative features
# rerun
rerun = { version = "0.28", default-features = false, features = ["sdk", "server", "log"] }
# smallvec to avoid heap allocations
smallvec = { version = "1.15", default-features = false, features = ["serde"] }
# rayon for thread pools and such.
rayon = "1.11"
# Realtime sanitizer (standalone)
rtsan-standalone = "0.3.0"
# HashMap that is fast and has no std dependency
hashbrown = { version = "0.16", features = ["serde"] }
syntect = "5.3" # default features pull bincode 1.x for dump support; required by our format helpers
[profile.screaming]
inherits = "release"
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
debug = false
incremental = false