Merge branch 'main' into lx-perf-improvements

This commit is contained in:
Alex Auvolat
2022-08-29 16:44:13 +02:00
13 changed files with 118 additions and 85 deletions
+2
View File
@@ -26,6 +26,7 @@ hex = "0.4"
tracing = "0.1.30"
rand = "0.8"
sha2 = "0.10"
git-version = "0.3.4"
chrono = "0.4"
rmp-serde = "0.15"
@@ -45,5 +46,6 @@ hyper = "0.14"
opentelemetry = { version = "0.17", features = [ "rt-tokio", "metrics", "trace" ] }
[features]
k2v = []
+1
View File
@@ -15,3 +15,4 @@ pub mod persister;
pub mod time;
pub mod token_bucket;
pub mod tranquilizer;
pub mod version;
+7
View File
@@ -0,0 +1,7 @@
pub fn garage() -> &'static str {
option_env!("GIT_VERSION").unwrap_or(git_version::git_version!(
prefix = "git:",
cargo_prefix = "cargo:",
fallback = "unknown"
))
}