-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
58 lines (51 loc) · 1.72 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
[workspace]
members = ["machine", "nucleus", "bin/chainboot", "bin/chainofcommand"]
resolver = "2"
[workspace.package]
version = "0.0.1"
authors = ["Berkus Decker <[email protected]>"]
documentation = "https://docs.metta.systems/vesper"
homepage = "https://github.com/metta-systems/vesper"
repository = "https://github.com/metta-systems/vesper"
readme = "README.md"
license = "BlueOak-1.0.0"
categories = ["no-std", "embedded", "os"]
publish = false
edition = "2024"
[workspace.dependencies]
qemu-exit = "3.0"
aarch64-cpu = { version = "9.4.0", git = "https://github.com/rust-embedded/aarch64-cpu", branch = "main" }
tock-registers = "0.9"
ux = { version = "0.1", default-features = false }
usize_conversions = "0.2"
bit_field = "0.10"
bitflags = "2.6"
cfg-if = "1.0"
snafu = { version = "0.8", default-features = false, features = [
"unstable-core-error",
] }
buddy-alloc = { git = "https://github.com/metta-systems/buddy-alloc", version = "0.6.0", branch = "feature/allocator-api" }
once_cell = { version = "1.20", default-features = false, features = [
"unstable",
] }
seahash = "4.1"
[patch.crates-io]
serialport = { git = "https://github.com/metta-systems/serialport-rs", branch = "macos-ENOTTY-fix" }
[profile.dev]
# See https://github.com/rust-lang/cargo/issues/7359 about why panic=abort is not working here.
# It is still defined in the target JSON so not stricly necessary to specify it here anyway.
#panic = "abort" # @todo try panic_rtt with feature jlink
opt-level = 's' # otherwise boot code will be mangled
[profile.release]
panic = "abort"
opt-level = 's'
debug = true
lto = true
codegen-units = 1
[profile.release-fast]
inherits = "release"
lto = "thin"
codegen-units = 16
[profile.test]
opt-level = 's'
debug = true