diff --git a/api/log-server/Cargo.toml b/api/xous-api-log/Cargo.toml similarity index 100% rename from api/log-server/Cargo.toml rename to api/xous-api-log/Cargo.toml diff --git a/api/log-server/README.md b/api/xous-api-log/README.md similarity index 100% rename from api/log-server/README.md rename to api/xous-api-log/README.md diff --git a/api/log-server/src/api.rs b/api/xous-api-log/src/api.rs similarity index 100% rename from api/log-server/src/api.rs rename to api/xous-api-log/src/api.rs diff --git a/api/log-server/src/cursor.rs b/api/xous-api-log/src/cursor.rs similarity index 100% rename from api/log-server/src/cursor.rs rename to api/xous-api-log/src/cursor.rs diff --git a/api/log-server/src/lib.rs b/api/xous-api-log/src/lib.rs similarity index 100% rename from api/log-server/src/lib.rs rename to api/xous-api-log/src/lib.rs diff --git a/api/susres/Cargo.toml b/api/xous-api-susres/Cargo.toml similarity index 100% rename from api/susres/Cargo.toml rename to api/xous-api-susres/Cargo.toml diff --git a/api/susres/README.md b/api/xous-api-susres/README.md similarity index 100% rename from api/susres/README.md rename to api/xous-api-susres/README.md diff --git a/api/susres/src/api.rs b/api/xous-api-susres/src/api.rs similarity index 100% rename from api/susres/src/api.rs rename to api/xous-api-susres/src/api.rs diff --git a/api/susres/src/lib.rs b/api/xous-api-susres/src/lib.rs similarity index 100% rename from api/susres/src/lib.rs rename to api/xous-api-susres/src/lib.rs diff --git a/api/ticktimer/Cargo.toml b/api/xous-api-ticktimer/Cargo.toml similarity index 100% rename from api/ticktimer/Cargo.toml rename to api/xous-api-ticktimer/Cargo.toml diff --git a/api/ticktimer/README.md b/api/xous-api-ticktimer/README.md similarity index 100% rename from api/ticktimer/README.md rename to api/xous-api-ticktimer/README.md diff --git a/api/ticktimer/src/api.rs b/api/xous-api-ticktimer/src/api.rs similarity index 100% rename from api/ticktimer/src/api.rs rename to api/xous-api-ticktimer/src/api.rs diff --git a/api/ticktimer/src/lib.rs b/api/xous-api-ticktimer/src/lib.rs similarity index 100% rename from api/ticktimer/src/lib.rs rename to api/xous-api-ticktimer/src/lib.rs diff --git a/services/log-server/.vscode/settings.json b/services/xous-log/.vscode/settings.json similarity index 100% rename from services/log-server/.vscode/settings.json rename to services/xous-log/.vscode/settings.json diff --git a/services/log-server/Cargo.toml b/services/xous-log/Cargo.toml similarity index 100% rename from services/log-server/Cargo.toml rename to services/xous-log/Cargo.toml diff --git a/services/log-server/README.md b/services/xous-log/README.md similarity index 100% rename from services/log-server/README.md rename to services/xous-log/README.md diff --git a/services/log-server/src/cursor.rs b/services/xous-log/src/cursor.rs similarity index 100% rename from services/log-server/src/cursor.rs rename to services/xous-log/src/cursor.rs diff --git a/services/log-server/src/debug.rs b/services/xous-log/src/debug.rs similarity index 100% rename from services/log-server/src/debug.rs rename to services/xous-log/src/debug.rs diff --git a/services/log-server/src/main.rs b/services/xous-log/src/main.rs similarity index 100% rename from services/log-server/src/main.rs rename to services/xous-log/src/main.rs diff --git a/services/susres/Cargo.toml b/services/xous-susres/Cargo.toml similarity index 100% rename from services/susres/Cargo.toml rename to services/xous-susres/Cargo.toml diff --git a/services/susres/README.md b/services/xous-susres/README.md similarity index 100% rename from services/susres/README.md rename to services/xous-susres/README.md diff --git a/services/susres/src/debug.rs b/services/xous-susres/src/debug.rs similarity index 100% rename from services/susres/src/debug.rs rename to services/xous-susres/src/debug.rs diff --git a/services/susres/src/main.rs b/services/xous-susres/src/main.rs similarity index 100% rename from services/susres/src/main.rs rename to services/xous-susres/src/main.rs diff --git a/services/susres/src/murmur3.rs b/services/xous-susres/src/murmur3.rs similarity index 100% rename from services/susres/src/murmur3.rs rename to services/xous-susres/src/murmur3.rs diff --git a/services/ticktimer-server/Cargo.toml b/services/xous-ticktimer/Cargo.toml similarity index 98% rename from services/ticktimer-server/Cargo.toml rename to services/xous-ticktimer/Cargo.toml index 99416b722..61325005e 100644 --- a/services/ticktimer-server/Cargo.toml +++ b/services/xous-ticktimer/Cargo.toml @@ -3,7 +3,7 @@ authors = ["bunnie "] description = "Provide high-resolution, non-rollover system time" edition = "2018" name = "xous-ticktimer" -version = "0.1.0" +version = "0.1.1" license = "MIT OR Apache-2.0" repository = "https://github.com/betrusted-io/xous-core/" homepage = "https://betrusted.io/xous-book/" diff --git a/services/ticktimer-server/README.md b/services/xous-ticktimer/README.md similarity index 100% rename from services/ticktimer-server/README.md rename to services/xous-ticktimer/README.md diff --git a/services/ticktimer-server/src/main.rs b/services/xous-ticktimer/src/main.rs similarity index 100% rename from services/ticktimer-server/src/main.rs rename to services/xous-ticktimer/src/main.rs diff --git a/services/xous-ticktimer/src/version.rs b/services/xous-ticktimer/src/version.rs new file mode 100644 index 000000000..471ac06e2 --- /dev/null +++ b/services/xous-ticktimer/src/version.rs @@ -0,0 +1,18 @@ +// Versioning information is kept in a separate file, attached to a small, well-known server in the Xous System +// This is a trade-off between rebuild times and flexibility. +// This was autogenerated by xtask/src/main.rs:print_header(). Do not edit manually. + +pub(crate) fn get_version() -> crate::api::VersionString { + let mut v = crate::api::VersionString { + version: xous_ipc::String::new() + }; + v.version.append(SEMVER).ok(); + #[cfg(not(feature="no-timestamp"))] + v.version.append("\n").ok(); + #[cfg(not(feature="no-timestamp"))] + v.version.append(TIMESTAMP).ok(); + v +} +#[allow(dead_code)] +pub const TIMESTAMP: &'static str = "Wed, 05 Oct 2022 05:26:10 +0800"; +pub const SEMVER: &'static str = "v0.9.9-419-g9c5d773c";