2020-03-13 12:32:44 +00:00
|
|
|
[package]
|
|
|
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
|
|
|
description = "Log output program"
|
2021-03-26 12:22:33 +00:00
|
|
|
edition = "2018"
|
2022-10-02 15:59:34 +00:00
|
|
|
name = "xous-log"
|
2021-03-26 12:22:33 +00:00
|
|
|
version = "0.1.0"
|
2022-09-26 06:58:05 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
|
repository = "https://github.com/betrusted-io/xous-core/"
|
|
|
|
|
homepage = "https://betrusted.io/xous-book/"
|
2020-03-13 12:32:44 +00:00
|
|
|
|
2022-06-10 13:36:53 +00:00
|
|
|
# Dependency versions enforced by Cargo.lock.
|
2020-03-13 12:32:44 +00:00
|
|
|
[dependencies]
|
2022-10-02 15:59:34 +00:00
|
|
|
xous-api-log = {version = "0.1.2", package = "xous-api-log"}
|
2022-01-10 07:39:55 +00:00
|
|
|
log = "0.4.14"
|
|
|
|
|
num-derive = {version = "0.3.3", default-features = false}
|
|
|
|
|
num-traits = {version = "0.2.14", default-features = false}
|
2022-09-26 06:06:46 +00:00
|
|
|
xous = "0.9.9"
|
2022-09-26 08:50:38 +00:00
|
|
|
xous-ipc = "0.9.9"
|
2020-08-02 08:08:56 +00:00
|
|
|
|
2022-10-01 18:20:03 +00:00
|
|
|
utralib = {version = "0.1.3", optional = true, default-features = false }
|
2020-10-13 19:41:53 +00:00
|
|
|
|
|
|
|
|
[features]
|
2022-10-01 18:20:03 +00:00
|
|
|
precursor = ["utralib/precursor"]
|
|
|
|
|
hosted = ["utralib/hosted"]
|
|
|
|
|
renode = ["utralib/renode"]
|
2021-03-26 12:22:33 +00:00
|
|
|
debugprint = [] # adding this allocates the UART for debugging the logger
|
2021-04-15 20:11:25 +00:00
|
|
|
logging = [] # adding this allocates the hardware UART for console interactions
|
2021-01-04 15:34:18 +00:00
|
|
|
#default = []
|
|
|
|
|
default = ["logging"]
|
2021-02-14 20:42:30 +00:00
|
|
|
# default = ["debugprint", "logging"]
|