-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
54 lines (47 loc) · 1.2 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
[package]
name = "n2"
version = "0.1.0"
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"
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