2020-03-10 04:04:17 +00:00
|
|
|
[package]
|
|
|
|
|
name = "loader"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
|
|
|
edition = "2018"
|
|
|
|
|
description = "Initial kernel loader for Xous"
|
|
|
|
|
|
2022-01-17 14:55:39 +00:00
|
|
|
# Dependency policy: fully specify dependencies to the minor version number
|
2020-03-10 04:04:17 +00:00
|
|
|
[dependencies]
|
2022-01-17 14:55:39 +00:00
|
|
|
utralib = { path = "utralib" }
|
2020-03-10 04:04:17 +00:00
|
|
|
|
2021-07-12 09:16:22 +00:00
|
|
|
[dependencies.com_rs]
|
2021-08-18 10:19:41 +00:00
|
|
|
git = "https://github.com/betrusted-io/com_rs"
|
|
|
|
|
branch = "main"
|
2021-07-12 09:16:22 +00:00
|
|
|
|
2022-01-17 14:55:39 +00:00
|
|
|
[dependencies.curve25519-dalek]
|
|
|
|
|
package = "curve25519-dalek"
|
|
|
|
|
version = "3.1.0"
|
|
|
|
|
default-features = false
|
|
|
|
|
features = ["u32e_backend"]
|
|
|
|
|
|
|
|
|
|
[dependencies.ed25519-dalek]
|
|
|
|
|
version = "1.0.1"
|
|
|
|
|
default-features = false
|
|
|
|
|
#features = ["u32_backend"]
|
|
|
|
|
|
2020-03-10 04:04:17 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
|
lazy_static = "1.4.0"
|
|
|
|
|
|
|
|
|
|
[features]
|
|
|
|
|
debug-print = []
|
|
|
|
|
earlyprintk = []
|
2022-03-02 11:51:16 +00:00
|
|
|
renode-bypass = []
|
2021-07-11 10:47:19 +00:00
|
|
|
#default = ["debug-print"]
|
2022-01-17 14:55:39 +00:00
|
|
|
default = []
|
|
|
|
|
|
|
|
|
|
[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"
|