2020-03-10 04:04:17 +00:00
|
|
|
[package]
|
|
|
|
|
name = "kernel"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
|
|
|
edition = "2018"
|
|
|
|
|
description = "Core kernel for Xous, including task switching and memory management"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
bitflags = "1.2.1"
|
2020-08-17 10:37:40 +00:00
|
|
|
xous-kernel = { package = "xous", path = "../xous-rs", features = ["forget-memory-messages"] }
|
2020-07-15 09:08:05 +00:00
|
|
|
stats_alloc = { version = "0.1.8", optional = true }
|
2020-07-29 13:18:30 +00:00
|
|
|
sha3 = { default-features = false, version = "0.8.2" }
|
2020-10-05 02:13:51 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(not(any(windows, unix)))'.dependencies]
|
|
|
|
|
utra = { path = "../utra"}
|
2020-03-10 04:04:17 +00:00
|
|
|
|
2020-06-03 07:34:55 +00:00
|
|
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
|
|
|
|
riscv = "0.5.6"
|
|
|
|
|
|
2020-03-10 04:04:17 +00:00
|
|
|
[features]
|
|
|
|
|
debug-print = []
|
2020-08-29 16:33:30 +00:00
|
|
|
print-panics = []
|
2020-07-15 09:08:05 +00:00
|
|
|
report-memory = ["stats_alloc"]
|
2020-09-25 16:03:46 +00:00
|
|
|
default = ["print-panics", "debug-print"]
|
2020-07-28 05:28:14 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(any(windows, unix))'.dependencies]
|
2020-07-29 13:18:30 +00:00
|
|
|
lazy_static = "1.4"
|
2020-07-28 05:28:14 +00:00
|
|
|
rand = "0.7"
|
2020-07-29 09:52:01 +00:00
|
|
|
hex = "0.4"
|
2020-08-06 15:08:03 +00:00
|
|
|
debug-here = "0.2.2"
|
2020-08-18 02:51:29 +00:00
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
codegen-units = 1 # 1 better optimizations
|
|
|
|
|
debug = true # symbols are nice and they don't increase the size on Flash
|
2020-08-18 04:10:46 +00:00
|
|
|
lto = "thin"
|