mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-12 07:44:18 +00:00
This removes all custom string formatting from the `log-server`. This should improve performance, because we're not roundtripping between various archive formats. We instead do a single copy and operate directly on that buffer. We also now write bytes directly, as opposed to creating intermediate strings. This fixes a memory issue that was introduced recently. Signed-off-by: Sean Cross <sean@xobs.io>
26 lines
714 B
TOML
26 lines
714 B
TOML
[package]
|
|
authors = ["Sean Cross <sean@xobs.io>"]
|
|
description = "Log output program"
|
|
edition = "2018"
|
|
name = "log-server"
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
log = "0.4"
|
|
num-derive = {version = "0.3", default-features = false}
|
|
num-traits = {version = "0.2", default-features = false}
|
|
xous = {path = "../../xous-rs"}
|
|
xous-ipc = {path = "../../xous-ipc"}
|
|
|
|
[build-dependencies]
|
|
vergen = "3"
|
|
|
|
[target.'cfg(not(any(windows,unix)))'.dependencies]
|
|
utralib = {path = "../../utralib"}
|
|
|
|
[features]
|
|
debugprint = [] # adding this allocates the UART for debugging the logger
|
|
logging = [] # adding this allocates the hardware UART for console interactions
|
|
#default = []
|
|
default = ["logging"]
|
|
# default = ["debugprint", "logging"]
|