vergen 10.0.2

Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro
Documentation
# 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 = "2024"
rust-version = "1.96.0"
name = "vergen"
version = "10.0.2"
authors = ["Jason Ozias <jason.g.ozias@gmail.com>"]
build = "build.rs"
autolib = false
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"
resolver = "2"

[[package.metadata.cargo-matrix.channel]]
name = "default"
always_deny = [
    "emit_and_set",
    "unstable",
]

[[package.metadata.cargo-matrix.channel]]
name = "nightly"
always_deny = ["emit_and_set"]
always_include = ["unstable"]

[package.metadata.docs.rs]
features = [
    "build",
    "cargo",
    "emit_and_set",
    "rustc",
    "si",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
build = [
    "time",
    "vergen-lib/build",
]
cargo = ["vergen-lib/cargo"]
cargo_metadata = [
    "dep:cargo_metadata",
    "regex",
    "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"]

[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.104"

[dependencies.bon]
version = "3.9.3"

[dependencies.cargo_metadata]
version = "0.23.1"
optional = true

[dependencies.regex]
version = "1.13.1"
optional = true

[dependencies.rustc_version]
version = "0.4.1"
optional = true

[dependencies.sysinfo]
version = "0.39.6"
optional = true

[dependencies.time]
version = "0.3.55"
features = [
    "formatting",
    "local-offset",
    "parsing",
]
optional = true

[dependencies.vergen-lib]
version = "10.0.2"

[dev-dependencies.regex]
version = "1.13.1"

[dev-dependencies.serial_test]
version = "4.0.1"

[dev-dependencies.temp-env]
version = "0.3.6"

[build-dependencies.rustversion]
version = "1.0.23"