generated from srid/rust-nix-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
49 lines (43 loc) · 1.39 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
[package]
authors = ["Sridhar Ratnakumar <[email protected]>"]
edition = "2021"
# If you change the name here, you must also do it in flake.nix (and run `cargo generate-lockfile` afterwards)
name = "nixci"
version = "1.0.0"
license = "AGPL-3.0-only"
readme = "README.md"
description = "Define and build CI for Nix projects anywhere"
homepage = "https://github.com/srid/nixci"
repository = "https://github.com/srid/nixci"
keywords = ["nix"]
[lib]
crate-type = ["cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
thiserror = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
colored = "2.0.4"
url = "2.4.0"
reqwest = { version = "0.11", features = ["blocking", "json"] }
try-guard = "0.2.0"
clap = { version = "4.4", features = ["derive"] }
urlencoding = "2.1.3"
nix_rs = { version = "0.5.0", features = ["clap"] }
# nix_rs = { version = "0.5.0", path = "../nix-rs", features = ["clap"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracing = "0.1.37"
nix_health = "0.4.1"
clap_complete = "4.4.0"
[dev-dependencies]
regex = "1.9"
ctor = "0.2"
assert_cmd = "2.0.14"
[features]
integration_test = []
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true