Module info

Module info 

Source
Expand description

This module has build and meta information about the library.

Statics§

BUILT_TIME_UTC
The build time in RFC2822, UTC.
CFG_ENV
The toolchain-environment, given by CARGO_CFG_TARGET_ENV.
CFG_OS
The operating system, given by CARGO_CFG_TARGET_OS.
CFG_TARGET_ARCH
The target architecture, given by CARGO_CFG_TARGET_ARCH.
CI_PLATFORM
The Continuous Integration platform detected during compilation.
DEBUG
Value of DEBUG for the profile used during compilation.
FULL_VERSION
The full version info, including build information.
FULL_VERSION_WITH_NAME
The package name and full version info, including build information.
GIT_COMMIT_HASH
If the crate was compiled from within a git-repository, GIT_COMMIT_HASH contains HEAD’s full commit SHA-1 hash.
GIT_COMMIT_HASH_SHORT
NUM_JOBS
The parallelism that was specified during compilation.
PKG_AUTHORS
A colon-separated list of authors.
PKG_DESCRIPTION
The description.
PKG_LICENSE
The license.
PKG_NAME
The name of the package.
PKG_REPOSITORY
The source repository as advertised in Cargo.toml.
PKG_VERSION
The full version.
RUSTC_VERSION
The output of /opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc -V
TARGET
The target triple that was being compiled for.
VERSION
The package name and version info.