diff options
author | Jonathan Davies <jpds@protonmail.com> | 2023-03-10 14:45:00 +0000 |
---|---|---|
committer | Jonathan Davies <jpds@protonmail.com> | 2023-03-10 14:46:54 +0000 |
commit | 4421378023465c72ba8e693c949c85c51d96929e (patch) | |
tree | 946bb24eae8059a6a0d625ff2d961bc3d888ae08 | |
parent | 25f2a46fc3e50c882cd518244bb49d44d01ca442 (diff) | |
download | garage-4421378023465c72ba8e693c949c85c51d96929e.tar.gz garage-4421378023465c72ba8e693c949c85c51d96929e.zip |
garage/admin.rs: Display Rust version in stats output.
-rw-r--r-- | src/garage/admin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/garage/admin.rs b/src/garage/admin.rs index 2ef3077c..34141cb2 100644 --- a/src/garage/admin.rs +++ b/src/garage/admin.rs @@ -820,11 +820,12 @@ impl AdminRpcHandler { let mut ret = String::new(); writeln!( &mut ret, - "\nGarage version: {} [features: {}]", + "\nGarage version: {} [features: {}]\nRust compiler version: {}", garage_util::version::garage_version(), garage_util::version::garage_features() .map(|list| list.join(", ")) .unwrap_or_else(|| "(unknown)".into()), + garage_util::version::rust_version(), ) .unwrap(); |