# 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-git2" version = "1.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_git2" path = "src/lib.rs" [[test]] name = "git_output" path = "tests/git_output.rs" [dependencies.anyhow] version = "1.0.89" [dependencies.derive_builder] version = "0.20.1" [dependencies.git2-rs] version = "0.19.0" default-features = false package = "git2" [dependencies.time] version = "0.3.36" features = [ "formatting", "local-offset", "parsing", ] [dependencies.vergen] version = "9.0.1" default-features = false [dependencies.vergen-lib] version = "0.1.4" features = ["git"] [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 = ["vergen/build"] cargo = ["vergen/cargo"] default = [] emit_and_set = ["vergen-lib/emit_and_set"] rustc = ["vergen/rustc"] si = ["vergen/si"] unstable = [ "vergen/unstable", "vergen-lib/unstable", ]