xous-core/loader/Cargo.toml
2022-03-14 01:18:36 +08:00

48 lines
1.3 KiB
TOML

[package]
name = "loader"
version = "0.1.0"
authors = ["Sean Cross <sean@xobs.io>"]
edition = "2018"
description = "Initial kernel loader for Xous"
# Dependency policy: fully specify dependencies to the minor version number
[dependencies]
utralib = { path = "utralib" }
curve25519-dalek = { package = "curve25519-dalek", version = "3.1.0", default-features = false, features = ["u32e_backend"], optional = true }
ed25519-dalek = { version = "1.0.1", default-features = false, optional = true }
#features = ["u32_backend"]
[dependencies.com_rs]
git = "https://github.com/betrusted-io/com_rs"
branch = "main"
[dev-dependencies]
lazy_static = "1.4.0"
[features]
debug-print = []
earlyprintk = []
renode-bypass = []
#default = ["debug-print"]
default = ["curve25519-dalek", "ed25519-dalek"]
[target.'cfg(not(any(windows, unix)))'.dependencies]
utralib = { path = "utralib" }
# patch key references into our local name space
[patch.crates-io.sha2]
path = "./sha2"
package = "sha2"
#default-features = false
[patch.crates-io.utralib]
path = "utralib"
[patch.crates-io.curve25519-dalek]
git = "https://github.com/betrusted-io/curve25519-dalek.git"
branch = "main"
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
lto = "fat"