-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
70 lines (60 loc) · 1.97 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
[package]
name = "mithril"
version = "0.1.0"
authors = [
# Feel free to add yourself here
"Felix Wiegand <[email protected]>"
]
edition = "2021"
[dependencies]
defmt = "0.3"
defmt-rtt = "0.4"
panic-probe = "0.3" # print-defmt is really useful for debugging, but dramatically increases binary size
#panic-probe = { version = "0.3", features = ["print-defmt"] }
embedded-hal = "1.0"
embedded-hal-async = "1.0"
cortex-m = { version = "0.7", features = ["inline-asm", "critical-section-single-core"] }
cortex-m-rt = "0.7"
alloc-cortex-m = "0.4"
embassy-stm32 = { version = "0.1", features = ["stm32f401rc", "unstable-pac", "memory-x", "time-driver-any", "exti"] }
embassy-executor = { version = "0.5", features = ["task-arena-size-32768", "arch-cortex-m", "executor-thread", "executor-interrupt", "integrated-timers"] }
embassy-time = { version = "0.3", features = ["tick-hz-1_000_000"] }
embassy-embedded-hal = "0.1"
embassy-sync = "0.5"
embassy-usb = "0.2"
embassy-futures = "0.1"
heapless = "0.8.0"
static_cell = "2"
num-traits = { version = "0.2.15", default-features = false }
serde = { version = "1", default-features = false, features = ["derive"] }
postcard = "1.0"
crc = "3"
nalgebra = { version = "0.32", default-features = false, features = ["serde-serialize-no-std", "macros"] }
siphasher = { version = "0.3", default-features = false }
rand = { version = "0.8", default-features = false }
rand_chacha = { version = "0.3", default-features = false }
shared_types = { git = "https://github.com/tudsat-rocket/sam" }
state_estimator = { git = "https://github.com/tudsat-rocket/sam" }
[dev-dependencies]
defmt-test = "0.3"
[features]
gcs = []
rev1 = []
# cargo build/run
[profile.dev]
codegen-units = 1
debug = "full"
debug-assertions = false
incremental = false
lto = "fat"
opt-level = 2
overflow-checks = false
# cargo build/run --release
[profile.release]
codegen-units = 1
debug = "full"
debug-assertions = false
incremental = false
lto = "fat"
opt-level = 2
overflow-checks = false