-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
75 lines (68 loc) · 2.21 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
[workspace]
members = [
"aerugo-hal",
"arch/cortex-m/aerugo-cortex-m",
"arch/cortex-m/aerugo-samv71-hal",
"arch/cortex-m/samv71-hal",
"arch/cortex-m/samv71q21-pac",
"arch/x86/aerugo-x86",
"arch/x86/aerugo-x86-hal",
"utils/env-parser",
"utils/env-parser-tests",
"utils/lsm6dso",
"utils/bitfield-enum",
"utils/bounded-int",
"calldwell/calldwell-rs",
]
exclude = ["demos", "examples", "testbins", "calldwell/examples"]
[workspace.package]
version = "0.1.0"
authors = [
"N7 Space",
"Filip Demski <[email protected]>",
"Wojciech Olech <[email protected]>",
]
edition = "2021"
rust-version = "1.70"
repository = "https://github.com/n7space/aerugo"
# homepage
license = "MIT OR Apache-2.0"
[workspace.dependencies]
[package]
name = "aerugo"
version.workspace = true
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
repository.workspace = true
# homepage.workspace = true
license.workspace = true
description = "Safety-critical applications oriented Real-Time Operating System"
# documentation
readme = "README.md"
keywords = ["rtos", "space"]
categories = ["aerospace", "embedded", "hardware-support", "no-std"]
[dependencies]
aerugo-cortex-m = { version = "0.1.0", path = "arch/cortex-m/aerugo-cortex-m", optional = true }
aerugo-hal = { version = "0.1.0", path = "aerugo-hal" }
aerugo-samv71-hal = { version = "0.1.0", path = "arch/cortex-m/aerugo-samv71-hal", optional = true }
aerugo-x86 = { version = "0.1.0", path = "arch/x86/aerugo-x86", optional = true }
aerugo-x86-hal = { version = "0.1.0", path = "arch/x86/aerugo-x86-hal", optional = true }
critical-section = "1.1.2"
env-parser = { version = "1.0.0", path = "utils/env-parser" }
heapless = "0.7"
samv71-hal = { version = "0.1.0", path = "arch/cortex-m/samv71-hal", optional = true }
[dev-dependencies]
test-binary = "3.0"
assert_cmd = "2.0"
[features]
default = ["log"]
use-aerugo-cortex-m = ["aerugo-cortex-m", "aerugo-samv71-hal"]
use-aerugo-x86 = ["aerugo-x86", "aerugo-x86-hal", "critical-section/std"]
test-aerugo-cortex-m = ["use-aerugo-x86"]
rt = ["aerugo-samv71-hal?/rt"]
log = ["aerugo-cortex-m?/log", "aerugo-x86?/log"]
[profile.release]
codegen-units = 1
debug = true
lto = true