xous-core/Cargo.toml

129 lines
3.2 KiB
TOML
Raw Normal View History

[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/blitstr-ref",
"imports/com_rs-ref",
"services/ime-plugin-api",
"services/benchmark",
"services/benchmark-target",
"services/ime-frontend",
"services/ime-plugin-shell",
"services/content-plugin-api",
"services/shellchat",
"services/llio",
"services/rtc",
2021-04-12 05:32:00 +00:00
"services/cb-test-srv",
"services/cb-test-c1",
"services/cb-test-c2",
2021-04-26 16:38:51 +00:00
"services/susres",
2021-05-02 16:20:51 +00:00
"services/codec",
"services/engine-sha512",
"services/engine-25519",
2021-06-03 16:49:34 +00:00
"services/aes",
2021-06-28 16:10:46 +00:00
"services/test-stub",
2021-07-13 14:28:46 +00:00
"services/spinor",
"services/root-keys",
2021-08-10 12:02:29 +00:00
"services/jtag",
"services/oqc-test",
2021-10-04 06:50:30 +00:00
"services/test-stub2",
"services/pddb",
"services/net",
"services/dns",
]
members = [
"xous-ipc",
"xous-rs",
"tools",
"macros",
"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/benchmark",
"services/benchmark-target",
"services/ime-frontend",
"services/ime-plugin-shell",
"services/rkyv-test-server",
"services/rkyv-test-client",
"services/shellchat",
"svd2repl",
"svd2utra",
"xtask",
"imports/blitstr-ref",
"imports/com_rs-ref",
"services/ime-plugin-api",
"services/content-plugin-api",
"services/llio",
"services/rtc",
2021-04-12 05:32:00 +00:00
"services/cb-test-srv",
"services/cb-test-c1",
"services/cb-test-c2",
2021-04-26 16:38:51 +00:00
"services/susres",
2021-05-02 16:20:51 +00:00
"services/codec",
"services/engine-sha512",
"services/engine-25519",
2021-06-03 16:49:34 +00:00
"services/aes",
2021-06-28 16:10:46 +00:00
"services/test-stub",
2021-07-13 14:28:46 +00:00
"services/spinor",
"services/root-keys",
2021-08-10 12:02:29 +00:00
"services/jtag",
2021-09-06 06:42:19 +00:00
"tools/wycheproof-import",
"services/oqc-test",
2021-10-04 06:50:30 +00:00
"services/test-stub2",
"services/pddb",
"services/net",
"services/dns",
]
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 = [
"kernel",
"loader",
"utralib", # Exclude UTRA, since it is machine-generated.
2021-07-28 16:15:06 +00:00
"locales", # exclude because it is machine-generated
]
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = "fat"
#panic = "abort" # Remove panic output, which can reduce file size
#opt-level = 'z' # Optimize for size instead of performance
[patch.crates-io]
xous = {path = "xous-rs"}
xous-macros = {path = "macros"}
# prefer hardware-accelerated versions of services
[patch.crates-io.sha2]
path = "services/engine-sha512"
[patch.crates-io.aes]
path = "services/aes"
2021-06-28 16:10:46 +00:00
[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"}