155 lines
2.9 KiB
TOML
155 lines
2.9 KiB
TOML
# 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.81.0"
|
|
name = "vergen"
|
|
version = "9.0.6"
|
|
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"
|
|
|
|
[[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",
|
|
]
|
|
|
|
[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"]
|
|
|
|
[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.95"
|
|
|
|
[dependencies.cargo_metadata]
|
|
version = "0.19.1"
|
|
optional = true
|
|
|
|
[dependencies.derive_builder]
|
|
version = "0.20.2"
|
|
|
|
[dependencies.regex]
|
|
version = "1.11.1"
|
|
optional = true
|
|
|
|
[dependencies.rustc_version]
|
|
version = "0.4.1"
|
|
optional = true
|
|
|
|
[dependencies.sysinfo]
|
|
version = "0.34.2"
|
|
optional = true
|
|
|
|
[dependencies.time]
|
|
version = "0.3.37"
|
|
features = [
|
|
"formatting",
|
|
"local-offset",
|
|
"parsing",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.vergen-lib]
|
|
version = "0.1.6"
|
|
|
|
[dev-dependencies.lazy_static]
|
|
version = "1.5.0"
|
|
|
|
[dev-dependencies.regex]
|
|
version = "1.11.1"
|
|
|
|
[dev-dependencies.serial_test]
|
|
version = "3.2.0"
|
|
|
|
[dev-dependencies.temp-env]
|
|
version = "0.3.6"
|
|
|
|
[build-dependencies.rustversion]
|
|
version = "1.0.19"
|