# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.0" name = "vergen" version = "9.0.1" authors = ["Jason Ozias "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro" homepage = "https://github.com/rustyhorde/vergen" documentation = "https://docs.rs/vergen" readme = "README.md" keywords = [ "cargo", "instructions", "build", "tool", ] categories = [ "development-tools", "development-tools::build-utils", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rustyhorde/vergen" [[package.metadata.cargo-matrix.channel]] always_deny = [ "emit_and_set", "unstable", ] name = "default" [[package.metadata.cargo-matrix.channel]] always_deny = ["emit_and_set"] always_include = ["unstable"] name = "nightly" [package.metadata.docs.rs] features = [ "build", "cargo", "emit_and_set", "rustc", "si", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "vergen" path = "src/lib.rs" [[test]] name = "build_output" path = "tests/build_output.rs" [[test]] name = "cargo_output" path = "tests/cargo_output.rs" [[test]] name = "rustc_output" path = "tests/rustc_output.rs" [[test]] name = "sysinfo_output" path = "tests/sysinfo_output.rs" [dependencies.anyhow] version = "1.0.89" [dependencies.cargo_metadata] version = "0.18.1" optional = true [dependencies.derive_builder] version = "0.20.1" [dependencies.regex] version = "1.10.6" optional = true [dependencies.rustc_version] version = "0.4.0" optional = true [dependencies.sysinfo] version = "0.31.4" optional = true [dependencies.time] version = "0.3.36" features = [ "formatting", "local-offset", "parsing", ] optional = true [dependencies.vergen-lib] version = "0.1.4" [dev-dependencies.lazy_static] version = "1.5.0" [dev-dependencies.regex] version = "1.10.6" [dev-dependencies.serial_test] version = "3.1.1" [dev-dependencies.temp-env] version = "0.3.6" [build-dependencies.rustversion] version = "1.0.17" [features] build = [ "time", "vergen-lib/build", ] cargo = [ "cargo_metadata", "regex", "vergen-lib/cargo", ] default = [] emit_and_set = ["vergen-lib/emit_and_set"] rustc = [ "rustc_version", "vergen-lib/rustc", ] si = [ "sysinfo", "vergen-lib/si", ] unstable = ["vergen-lib/unstable"]