mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix inconsistency in Cargo.toml file
This commit is contained in:
parent
33948e70d6
commit
4a8c4498ea
28 changed files with 19 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ authors = ["bunnie <bunnie@kosagi.com>"]
|
|||
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/"
|
||||
18
services/xous-ticktimer/src/version.rs
Normal file
18
services/xous-ticktimer/src/version.rs
Normal file
|
|
@ -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";
|
||||
Loading…
Reference in a new issue