xous-core/xous-rs/Cargo.toml
Sean Cross 039975323e tests: add tests package
This package serves only to build tests for the kernel, because the
kernel wants to use a different mechanism for spawning processes.

Cargo doesn't support having `#[cfg(test)]` attributes on modules in
order to allow conditional compilation depending on whether we're
running a test or not. To work around this, `main.rs` is included in
another dummy crate.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-07-29 21:18:30 +08:00

27 lines
700 B
TOML

[package]
name = "xous"
version = "0.1.0"
authors = ["Sean Cross <sean@xobs.io>"]
edition = "2018"
description = "System call interface for Xous"
[dependencies]
bitflags = "1.2.1"
num-derive = "0.3.0"
[dependencies.num-traits]
version = "0.2"
default-features = false
[features]
# If this is set, then the "Drop" feature of MemoryMessage structs
# will not be implemented. This should only be set by the kernel.
forget-memory-messages = []
# If this is set, create_process() will instead create a thread in
# the current process. This is used by the test suite.
processes-as-threads = []
[target.'cfg(any(windows,unix))'.dependencies]
lazy_static = "1.4"
hex = "0.4"