We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ProgramMetadata
1 parent 4f489b9 commit 520e6b6Copy full SHA for 520e6b6
1 file changed
src/output.rs
@@ -71,14 +71,22 @@ struct Metadata<'a> {
71
program: ProgramMetadata<'a>,
72
}
73
74
+/// Information about the version and build of MUSE
75
#[derive(Serialize)]
76
struct ProgramMetadata<'a> {
77
+ /// The program name
78
name: &'a str,
79
+ /// The program version as specified in Cargo.toml
80
version: &'a str,
81
+ /// The target architecture for the build (e.g. x86_64-unknown-linux-gnu)
82
target: &'a str,
83
+ /// Whether it is a debug build
84
is_debug: bool,
85
+ /// The version of rustc used to compile MUSE
86
rustc_version: &'a str,
87
+ /// When MUSE was built
88
build_time_utc: &'a str,
89
+ /// The git commit hash for the version of MUSE (if known)
90
git_commit_hash: String,
91
92
0 commit comments