diff --git a/services/log-server/Cargo.toml b/services/log-server/Cargo.toml index 22c3f9c9c..46556c134 100644 --- a/services/log-server/Cargo.toml +++ b/services/log-server/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Sean Cross "] description = "Log output program" edition = "2018" -name = "log-server" +name = "xous-log" version = "0.1.0" license = "MIT OR Apache-2.0" repository = "https://github.com/betrusted-io/xous-core/" @@ -10,7 +10,7 @@ homepage = "https://betrusted.io/xous-book/" # Dependency versions enforced by Cargo.lock. [dependencies] -xous-api-log-server = {version = "0.1.2", package = "xous-api-log-server"} +xous-api-log = {version = "0.1.2", package = "xous-api-log"} log = "0.4.14" num-derive = {version = "0.3.3", default-features = false} num-traits = {version = "0.2.14", default-features = false} diff --git a/services/log-server/README.md b/services/log-server/README.md new file mode 100644 index 000000000..3e09cbd4e --- /dev/null +++ b/services/log-server/README.md @@ -0,0 +1,6 @@ +# Xous: Log Service + +This crate contains implementations for the [`log`](https://crates.io/crates/log) crate. + +Services relying on the log facility should refer to the [`xous-api-log`](https://crates.io/crates/xous-api-log) crate for instructions on initialization and example code. + diff --git a/services/log-server/src/main.rs b/services/log-server/src/main.rs index 29e2d68be..2e2da3d91 100644 --- a/services/log-server/src/main.rs +++ b/services/log-server/src/main.rs @@ -1,7 +1,7 @@ #![cfg_attr(target_os = "none", no_std)] #![cfg_attr(target_os = "none", no_main)] -use xous_api_log_server::api; +use xous_api_log::api; #[cfg(any(feature="precursor", feature="renode"))] #[macro_use]