Struct rummage::RummageInfo
source · pub struct RummageInfo {
pub crate_info: CrateInfo,
pub compile_info: CompileInfo,
pub system_info: SystemInfo,
pub command_line: Vec<String>,
pub envvars: HashMap<String, Option<String>>,
}Fields§
§crate_info: CrateInfoInformation about the crate that contains the info!() invocation
compile_info: CompileInfoInformation about the compilation process
Specifically, this is information about how rummage itself was compiled. In Cargo’s
default configuration this will also be the same as the target crate being built, though it
is possible to override this behavior in some circumstances, eg to build dependencies with
the release profile even when the target crate is being built under the debug profile.
system_info: SystemInfoInformation about the system that the program is running on
command_line: Vec<String>The full command line that this executable was invoked with
envvars: HashMap<String, Option<String>>Set of environment variables that have been explicitly gathered with
RummageInfo::with_envvar/RummageInfo::with_envvars.