mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
By vendoring this package, we can avoid causing a rebuild unnecessarily. This will be removed when Rust 1.55 is released and we can bring the `loader` package back into the main workspace. Signed-off-by: Sean Cross <sean@xobs.io>
62 lines
No EOL
1.3 KiB
TOML
62 lines
No EOL
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"
|
|
|
|
[dependencies]
|
|
utralib = {path = "utralib"}
|
|
|
|
[dependencies.com_rs]
|
|
git="https://github.com/betrusted-io/com_rs"
|
|
branch="main"
|
|
|
|
[dependencies.curve25519-dalek]
|
|
git="https://github.com/betrusted-io/curve25519-dalek.git"
|
|
branch="main"
|
|
#path = "../../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"]
|
|
|
|
[dev-dependencies]
|
|
lazy_static = "1.4.0"
|
|
#rand = "0.7.3"
|
|
|
|
[features]
|
|
debug-print = []
|
|
earlyprintk = []
|
|
#default = ["debug-print"]
|
|
default = []
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # 1 better optimizations
|
|
debug = true # symbols are nice and they don't increase the size on Flash
|
|
lto = "fat"
|
|
|
|
[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"
|
|
package = "curve25519-dalek"
|
|
version = "3.1.0"
|
|
default-features = false
|
|
features = ["u32e_backend"] |