mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-04 04:27:34 +00:00
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
description = "Core kernel for Xous, including task switching and memory management"
|
|
license = "MIT OR Apache-2.0"
|
|
edition = "2018"
|
|
name = "xous-kernel"
|
|
version = "0.9.22"
|
|
resolver = "2"
|
|
|
|
# Dependency versions enforced by Cargo.lock.
|
|
[dependencies]
|
|
bitflags = "1.2.1"
|
|
stats_alloc = { version = "0.1.8", optional = true }
|
|
xous-kernel = { package = "xous", version = "0.9.26", features = [
|
|
"forget-memory-messages",
|
|
] }
|
|
utralib = { version = "0.1.11", optional = true, default_features = false }
|
|
|
|
[target.'cfg(any(windows,unix))'.dev-dependencies]
|
|
xous-kernel = { package = "xous", version = "0.9.26", features = [
|
|
"forget-memory-messages",
|
|
"processes-as-threads",
|
|
] }
|
|
|
|
[target.'cfg(target_arch = "riscv32")'.dependencies]
|
|
riscv = { version = "0.5.6", package = "xous-riscv" } # source is in "../imports/riscv-0.5.6"
|
|
|
|
[features]
|
|
precursor = ["utralib/precursor"]
|
|
hosted = ["utralib/hosted"]
|
|
renode = ["utralib/renode"]
|
|
|
|
debug-print = []
|
|
gdb-stub = []
|
|
print-panics = []
|
|
report-memory = ["stats_alloc"]
|
|
wrap-print = []
|
|
v2p = ["xous-kernel/v2p"]
|
|
# default = ["print-panics", "debug-print", "wrap-print"]
|
|
default = ["print-panics"]
|
|
|
|
[target.'cfg(any(windows, unix))'.dependencies]
|
|
crossbeam-channel = "0.5"
|
|
hex = "0.4"
|
|
lazy_static = "1.4"
|
|
rand = "0.7.3"
|
|
rand_chacha = "0.3.1"
|