forked from copper-project/copper-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
111 lines (97 loc) · 3.52 KB
/
Cargo.toml
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
[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_soa_derive",
"core/cu29_traits",
"core/cu29_unifiedlog",
"components/monitors/cu_consolemon",
"components/payloads/cu_sensor_payloads",
"components/sinks/cu_iceoryx2_sink",
"components/sinks/cu_rp_gpio",
"components/sinks/cu_rp_sn754410",
"components/sinks/cu_lewansoul",
"components/sources/cu_ads7883",
"components/sources/cu_hesai",
"components/sources/cu_iceoryx2_src",
"components/sources/cu_vlp16",
"components/sources/cu_wt901",
"components/sources/cu_rp_encoder",
"components/tasks/cu_pid",
"examples/cu_config_gen",
"examples/cu_standalone_structlog",
"examples/cu_caterpillar",
"examples/cu_rp_balancebot",
"examples/cu_multisources",
"examples/cu_monitoring",
"examples/cu_iceoryx2",
]
# 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_helpers",
"core/cu29_intern_strs",
"core/cu29_log",
"core/cu29_log_derive",
"core/cu29_log_runtime",
"core/cu29_soa_derive",
"core/cu29_traits",
"core/cu29_unifiedlog",
]
resolver = "2"
[workspace.package]
version = "0.4.1"
authors = ["Guillaume Binet <gbin@gootz.net>"]
edition = "2021"
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.dependencies]
# Copper Core
cu29 = { path = "core/cu29", version = "0.4.0" }
cu29-clock = { path = "core/cu29_clock", version = "0.4.0" }
cu29-derive = { path = "core/cu29_derive", version = "0.4.0" }
cu29-export = { path = "core/cu29_export", version = "0.4.0" }
cu29-helpers = { path = "core/cu29_helpers", version = "0.4.0" }
cu29-intern-strs = { path = "core/cu29_intern_strs", version = "0.4.0" }
cu29-log = { path = "core/cu29_log", version = "0.4.0" }
cu29-log-derive = { path = "core/cu29_log_derive", version = "0.4.0" }
cu29-log-runtime = { path = "core/cu29_log_runtime", version = "0.4.0" }
cu29-soa-derive = { path = "core/cu29_soa_derive", version = "0.4.0" }
cu29-traits = { path = "core/cu29_traits", version = "0.4.0" }
cu29-unifiedlog = { path = "core/cu29_unifiedlog", version = "0.4.0" }
cu29-value = { path = "core/cu29_value", version = "0.4.0" }
# Payload definitions
cu-sensor-payloads = { path = "components/payloads/cu_sensor_payloads", version = "0.4.0" }
# External serialization
bincode = { version = "2.0.0-rc.3", features = ["derive"] }
serde = { version = "1.0.215", features = ["derive"] }
serde_derive = { version = "1.0.115", features = ["default"] }
# External CLI
clap = { version = "4.5.21", features = ["derive"] }
# External proc macros
proc-macro2 = { version = "1.0.89" }
quote = "1.0.37" # proc macros
syn = { version = "2.0.85", features = ["full"] } # proc macros
# Unit of measure to be consistent across the project
uom = { version = "0.36.0", features = ["serde"] }
# Compact strings support
compact_str = { version = "0.8.0", features = ["serde"] }
# The derive patterns happens a lot across the codebase, this is a helper for that.
derive_more = { version = "1", features = ["full"] }
# used across testing
tempfile = "3.14.0"
# [profile.release]
# lto = true