# 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.66.0" name = "git2version" version = "0.4.0" authors = ["Sebastian Messmer "] description = "This crate provides a way to get the version of the package from git and incorporate it as a constant into your program." documentation = "https://docs.rs/git2version" readme = "README.md" keywords = [ "git", "version", "build", ] categories = [ "development-tools", "development-tools::build-utils", ] license = "MIT OR Apache-2.0" repository = "https://github.com/smessmer/git2version" [dependencies.git2] version = "^0.18" optional = true [dependencies.konst] version = "^0.3" [dependencies.serde] version = "^1.0.103" features = ["derive"] [dev-dependencies.git2] version = "^0.18" [dev-dependencies.rand] version = "^0.8" [dev-dependencies.serde_json] version = "^1.0" [dev-dependencies.tempdir] version = "^0.3.4" [features] build = ["dep:git2"] default = []