forked from rustyhorde/vergen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
authors = ["Jason Ozias <[email protected]>"]
categories = ["development-tools", "development-tools::build-utils"]
description = "Generate build, git, and rustc related 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the env! macro"
documentation = "http://docs.rs/vergen"
edition = "2018"
homepage = "https://github.com/rustyhorde/vergen"
keywords = ["cargo", "instructions", "build", "tool"]
license = "MIT OR Apache-2.0"
name = "vergen"
readme = "README.md"
repository = "https://github.com/rustyhorde/vergen"
version = "5.0.1"
[features]
default = ["build", "cargo", "git", "rustc"]
build = ["chrono"]
cargo = []
git = ["chrono", "git2"]
rustc = ["rustc_version"]
[dependencies]
anyhow = "1"
chrono = { version = ">= 0.4, < 1", optional = true }
enum-iterator = "0"
getset = ">= 0.0.6, < 1"
git2 = { version = "0", optional = true, default-features = false }
rustc_version = { version = "0.3.1", optional = true }
thiserror = "1"
[build-dependencies]
chrono = ">= 0.4, < 1"
rustversion = "1"
[dev-dependencies]
lazy_static = "1"
regex = "1"
rustversion = "1"
serial_test = ">= 0.4, < 1"
[package.metadata.cargo-all-features]
skip_optional_dependencies = true