forked from evmar/n2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
55 lines (48 loc) · 1.22 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
49
50
51
52
53
54
55
[package]
name = "n2"
version = "0.1.5"
categories = ["development-tools", "development-tools::build-utils"]
edition = "2018"
exclude = [".github/*", ".vscode/*"]
homepage = "https://github.com/evmar/n2"
keywords = ["ninja", "build"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/evmar/n2"
# https://github.com/evmar/n2/issues/74
# Note: if we bump this, may need to bump .github/workflows/ci.yml version too.
rust-version = "1.75.0"
description = "a ninja compatible build system"
[dependencies]
anyhow = "1.0"
argh = "0.1.10"
colored = "2.1.0"
libc = "0.2"
rustc-hash = "1.1.0"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.48"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Console",
"Win32_System_Diagnostics_Debug",
"Win32_System_Pipes",
"Win32_System_Threading",
]
# [target.'cfg(not(any(windows, target_arch = "wasm32")))'.dependencies]
# jemallocator = "0.5.0"
[dev-dependencies]
tempfile = "3.6.0"
criterion = { version = "0.5.1", features = ["html_reports"] }
[profile.release]
debug = true
lto = true
[[bench]]
name = "parse"
harness = false
# For Criterion reasons, we need bench=false for our lib/bin.
[lib]
bench = false
[[bin]]
name = "n2"
bench = false