forked from kubos/kubos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
125 lines (121 loc) · 2.96 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[workspace]
# This contains just pure Rust crates to allow for running
# cargo commands without C-build dependencies
default-members = [
"apis/app-api/rust",
"apis/adcs-api",
"apis/clyde-3g-eps-api",
"apis/eps-api",
"apis/mai400-api",
"apis/novatel-oem6-api",
"apis/nsl-duplex-d2",
"apps/obc-hs",
"apis/rust-radio-api",
"apis/system-api",
"apis/telemetry-db-api",
"clients/kubos-file-client",
"clients/kubos-shell-client",
"clients/uart-comms-client",
"examples/rust-mission-app",
"examples/rust-service",
"examples/serial-comms-service",
"examples/udp-service-client",
"hal/rust-hal/rust-i2c",
"hal/rust-hal/rust-uart",
"kubos-build-helper",
"libs/cbor-protocol",
"libs/channel-protocol",
"libs/comms-service",
"libs/file-protocol",
"libs/shell-protocol",
"services/app-service",
"services/gomspace-p31u-service",
"services/clyde-3g-eps-service",
"services/monitor-service",
"services/file-service",
"services/kubos-service",
"services/local-comms-service",
"services/mai400-service",
"services/nsl-duplex-d2-comms-service",
"services/novatel-oem6-service",
"services/scheduler-service",
"services/shell-service",
"services/telemetry-service",
"test/benchmark/db-test",
"test/integration/linux/mai400",
"test/integration/large_download",
"test/integration/large_upload",
"utils"
]
# This *must* contain all crates in this workspace
members=[
# Pure Rust crates
"apis/app-api/rust",
"apis/adcs-api",
"apis/clyde-3g-eps-api",
"apis/eps-api",
"apis/mai400-api",
"apis/novatel-oem6-api",
"apps/obc-hs",
"apis/nsl-duplex-d2",
"apis/rust-radio-api",
"apis/system-api",
"apis/telemetry-db-api",
"clients/kubos-file-client",
"clients/kubos-shell-client",
"clients/uart-comms-client",
"examples/rust-mission-app",
"examples/rust-service",
"examples/serial-comms-service",
"examples/udp-service-client",
"hal/rust-hal/rust-i2c",
"hal/rust-hal/rust-uart",
"kubos-build-helper",
"libs/cbor-protocol",
"libs/channel-protocol",
"libs/comms-service",
"libs/file-protocol",
"libs/shell-protocol",
"services/app-service",
"services/gomspace-p31u-service",
"services/clyde-3g-eps-service",
"services/monitor-service",
"services/file-service",
"services/kubos-service",
"services/local-comms-service",
"services/mai400-service",
"services/nsl-duplex-d2-comms-service",
"services/novatel-oem6-service",
"services/scheduler-service",
"services/shell-service",
"services/telemetry-service",
"test/benchmark/db-test",
"test/integration/linux/mai400",
"test/integration/large_download",
"test/integration/large_upload",
"utils",
# Rust + C crates
"apis/isis-ants-api",
"apis/isis-imtq-api",
"apis/isis-iobc-supervisor",
"apis/gomspace-p31u-api",
"examples/rust-c-service/extern-lib",
"examples/rust-c-service/service",
"services/iobc-supervisor-service",
"services/isis-ants-service",
"test/integration/linux/isis-ants",
]
exclude = [
"apis/nosengine-rust",
"test/integration/nosengine-rust"
]
[profile.release]
lto = true
opt-level = "z"
panic = "abort"
codegen-units = 1
[profile.bench]
lto = true
opt-level = "z"
panic = "abort"
codegen-units = 1