forked from rustyhorde/vergen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
44 lines (39 loc) · 1.17 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
43
44
[package]
authors = ["Jason Ozias <[email protected]>"]
categories = ["development-tools", "development-tools::build-utils"]
description = "Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the env! macro"
documentation = "http://docs.rs/vergen"
edition = "2018"
homepage = "http://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.1.5"
[features]
default = ["build", "cargo", "git", "rustc", "si"]
build = ["chrono"]
cargo = []
git = ["chrono", "git2"]
rustc = ["rustc_version"]
si = ["sysinfo"]
[dependencies]
anyhow = "1"
cfg-if = "1"
chrono = { version = "0", optional = true }
enum-iterator = "0"
getset = "0"
git2 = { version = "0", optional = true, default-features = false }
rustc_version = { version = "0.3.1", optional = true }
sysinfo = { version = "0", optional = true }
thiserror = "1"
[build-dependencies]
chrono = "0"
rustversion = "1"
[dev-dependencies]
lazy_static = "1"
regex = "1"
serial_test = "0"
[package.metadata.cargo-all-features]
skip_optional_dependencies = true