prep log server for upload to crates.io

This commit is contained in:
bunnie 2022-10-02 23:59:34 +08:00
parent c37200c4dc
commit c0b6738b69
3 changed files with 9 additions and 3 deletions

View file

@ -2,7 +2,7 @@
authors = ["Sean Cross <sean@xobs.io>"]
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}

View file

@ -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.

View file

@ -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]