fix inconsistency in Cargo.toml file

This commit is contained in:
bunnie 2022-10-05 17:00:18 +08:00
parent 33948e70d6
commit 4a8c4498ea
28 changed files with 19 additions and 1 deletions

View file

@ -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/"

View 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";