[][src]Crate build_info_common

Common types used by the build-info and build-info-build crates.

User code should not depend on this crate directly, but rather depend on build-info (as a [dependency]) and build-info-build (as a [build-dependency]). The types provided herein are reexported by build-info and should be used that way. For example, build_info_common::BuildInfo should be used as build_info::BuildInfo instead.

Modules

display

Structs

BuildInfo

Information about the current build

CompilerInfo

rustc version and configuration

CrateInfo

Information about the current crate (i.e., the crate for which build information has been generated)

DateTime

ISO 8601 combined date and time with time zone.

GitInfo

Information about a git repository

Utc

The UTC time zone. This is the most efficient time zone when you don't need the local time. It is also used as an offset (which is also a dummy type).

Version

Represents a version number conforming to the semantic versioning scheme.

Enums

CompilerChannel

rustc distribution channel (some compiler features are only available on specific channels)

Identifier

An identifier in the pre-release or build metadata.

VersionControl

Support for different version control systems

Traits

TimeZone

The time zone.

Functions

crate_version

Gets the version of the build-info-common crate (this crate)