forked from betrusted-io/xous-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
137 lines (127 loc) · 3.22 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
126
127
128
129
130
131
132
133
134
135
136
137
[workspace]
default-members = [
"services/log-server",
"services/graphics-server",
"services/ticktimer-server",
"services/xous-names",
"services/keyboard",
"services/com",
"services/trng",
"services/gam",
"services/status",
"imports/com_rs-ref",
"services/ime-plugin-api",
"services/ime-frontend",
"services/ime-plugin-shell",
"services/content-plugin-api",
"services/shellchat",
"services/llio",
"services/susres",
"services/codec",
"services/engine-sha512",
"services/engine-25519",
"services/aes",
"services/spinor",
"services/root-keys",
"services/jtag",
"services/pddb",
"services/net",
"services/dns",
"services/modals",
"services/usb-device-xous",
]
members = [
"xous-ipc",
"xous-rs",
"tools",
"services/aes-test",
"services/graphics-server",
"services/log-server",
"services/ticktimer-server",
"services/com",
"services/xous-names",
"services/keyboard",
"services/kernel-test",
"services/trng",
"services/gam",
"services/status",
"services/ime-frontend",
"services/ime-plugin-shell",
"services/ime-plugin-tts",
"services/shellchat",
"svd2repl",
"svd2utra",
"xtask",
"imports/com_rs-ref",
"imports/getrandom",
"services/ime-plugin-api",
"services/content-plugin-api",
"services/llio",
"services/codec",
"services/engine-sha512",
"services/engine-25519",
"services/aes",
"services/spinor",
"services/root-keys",
"services/jtag",
"tools/wycheproof-import",
"services/pddb",
"services/net",
"services/dns",
"services/modals",
"apps/ball",
"apps/hello",
"apps/repl",
"apps/vault",
"services/libstd-test",
"services/ffi-test",
"services/tts",
"services/test-spawn",
"services/test-spawn/spawn",
"services/usb-test",
"services/usb-device-xous",
"kernel",
"loader",
]
resolver = "2"
# These packages have custom RUSTFLAGS, so if they
# were included in the workspace they would cause
# packages to be rebuilt every time they were touched.
# Keep them out of the main workspace.
exclude = [
"utralib", # Exclude UTRA, since it is machine-generated.
"locales", # exclude because it is machine-generated
]
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = false
strip = true
lto = "fat"
incremental = true
#panic = "abort" # Remove panic output, which can reduce file size
#opt-level = 's' # z,s: Optimize for size instead of performance
[patch.crates-io]
xous = {path = "xous-rs"}
# prefer hardware-accelerated versions of services
[patch.crates-io.sha2]
path = "services/engine-sha512"
[patch.crates-io.aes]
path = "services/aes"
[patch.crates-io.xous-names]
path = "services/xous-names"
[patch.crates-io.curve25519-dalek]
git="https://github.com/betrusted-io/curve25519-dalek.git"
branch="main"
#path = "../curve25519-dalek" # when doing local dev work
# feature overrides are specified at the crate level
[patch."https://github.com/betrusted-io/xous-engine-25519.git"]
engine-25519 = {path = "services/engine-25519"}
[patch.crates-io.usb-device]
git="https://github.com/betrusted-io/usb-device.git"
branch="main"
#path = "../usb-device"
# for local dev
#[patch.crates-io.usbd-human-interface-device]
#path = "../usbd-human-interface-device"
[patch.crates-io.getrandom]
path = "imports/getrandom"