forked from rustyhorde/vergen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (43 loc) · 1.43 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
45
46
47
48
[package]
authors = ["Jason Ozias <jason.g.ozias@gmail.com>"]
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 = "https://docs.rs/vergen"
edition = "2021"
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"
resolver = "2"
version = "7.4.3"
[package.metadata.cargo-all-features]
denylist = ["local_offset","time","git2","rustc_version","sysinfo"]
[features]
default = ["build", "cargo", "git", "rustc", "si"]
build = ["time"]
cargo = []
git = ["time", "git2"]
rustc = ["rustc_version"]
si = ["sysinfo"]
local_offset = ["time/local-offset"]
[dependencies]
anyhow = "1.0.60"
cfg-if = "1.0.0"
enum-iterator = "1.2.0"
getset = "0.1.2"
git2 = { version = "0.14.4", optional = true, default-features = false }
rustc_version = { version = "0.4.0", optional = true }
sysinfo = { version = "0.26.0", optional = true, default-features = false }
thiserror = "1.0.32"
time = { version = "0.3.12", features = ["formatting"], optional = true }
[build-dependencies]
anyhow = "1.0.60"
time = { version = "0.3.12", features = ["formatting"] }
rustversion = "1.0.9"
[dev-dependencies]
lazy_static = "1.4.0"
regex = "1.6.0"
serial_test = "0.9.0"
tempfile = "3.3.0"