2020-03-10 04:04:17 +00:00
|
|
|
[package]
|
|
|
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
|
|
|
description = "Core kernel for Xous, including task switching and memory management"
|
2021-05-19 06:18:46 +00:00
|
|
|
edition = "2018"
|
2022-09-27 09:02:20 +00:00
|
|
|
name = "xous-kernel"
|
|
|
|
|
version = "0.9.9"
|
2021-08-16 04:25:15 +00:00
|
|
|
resolver = "2"
|
2020-03-10 04:04:17 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2020-03-10 04:04:17 +00:00
|
|
|
[dependencies]
|
|
|
|
|
bitflags = "1.2.1"
|
2021-08-18 10:15:29 +00:00
|
|
|
stats_alloc = { version = "0.1.8", optional = true }
|
2022-09-27 09:02:20 +00:00
|
|
|
xous-kernel = { package = "xous", version = "0.9.9", features = [
|
2021-08-18 10:15:29 +00:00
|
|
|
"forget-memory-messages",
|
|
|
|
|
] }
|
2020-10-05 02:13:51 +00:00
|
|
|
|
2021-08-16 04:25:15 +00:00
|
|
|
[target.'cfg(any(windows,unix))'.dev-dependencies]
|
2022-09-27 09:02:20 +00:00
|
|
|
xous-kernel = { package = "xous", version = "0.9.9", features = [
|
2021-08-18 10:15:29 +00:00
|
|
|
"forget-memory-messages",
|
|
|
|
|
"processes-as-threads",
|
|
|
|
|
] }
|
2021-08-16 04:25:15 +00:00
|
|
|
|
2020-10-05 02:13:51 +00:00
|
|
|
[target.'cfg(not(any(windows, unix)))'.dependencies]
|
2022-09-27 09:02:20 +00:00
|
|
|
utralib = { version = "0.1.1", default_features = false }
|
2020-03-10 04:04:17 +00:00
|
|
|
|
2020-06-03 07:34:55 +00:00
|
|
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
2022-09-27 09:27:21 +00:00
|
|
|
riscv = { version = "0.5.6", package = "xous-riscv" } # source is in "../imports/riscv-0.5.6"
|
2020-06-03 07:34:55 +00:00
|
|
|
|
2020-03-10 04:04:17 +00:00
|
|
|
[features]
|
|
|
|
|
debug-print = []
|
2022-09-27 09:27:21 +00:00
|
|
|
gdb-stub = []
|
2020-08-29 16:33:30 +00:00
|
|
|
print-panics = []
|
2020-07-15 09:08:05 +00:00
|
|
|
report-memory = ["stats_alloc"]
|
2021-03-23 11:52:53 +00:00
|
|
|
wrap-print = []
|
2022-09-15 11:17:00 +00:00
|
|
|
v2p = ["xous-kernel/v2p"]
|
2021-05-20 03:42:31 +00:00
|
|
|
# default = ["print-panics", "debug-print", "wrap-print"]
|
2022-09-27 09:02:20 +00:00
|
|
|
default = ["print-panics"]
|
2020-07-28 05:28:14 +00:00
|
|
|
|
|
|
|
|
[target.'cfg(any(windows, unix))'.dependencies]
|
2021-05-19 06:18:46 +00:00
|
|
|
crossbeam-channel = "0.5"
|
|
|
|
|
hex = "0.4"
|
2020-07-29 13:18:30 +00:00
|
|
|
lazy_static = "1.4"
|
2022-01-10 07:03:23 +00:00
|
|
|
rand = "0.7.3"
|
2021-12-25 07:58:27 +00:00
|
|
|
rand_chacha = "0.3.1"
|