-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (129 loc) · 4.2 KB
/
Copy pathCargo.toml
File metadata and controls
147 lines (129 loc) · 4.2 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
[workspace]
members = ["utils", "recipe", "template", "process"]
[workspace.package]
description = "A CLI tool built for creating Containerfile templates for ostree based atomic distros"
edition = "2024"
repository = "https://github.com/blue-build/cli"
license = "Apache-2.0"
categories = ["command-line-utilities"]
version = "0.9.36"
[workspace.dependencies]
bon = "=3.9.3"
cached = { version = "=2.0.2", features = ["async"]}
chrono = "=0.4.45"
clap = "=4.6.1"
colored = "=3.1.1"
comlexr = "=1.5.0"
indexmap = { version = "=2.14.0", features = ["serde"] }
indicatif = { version = "=0.18.6", features = ["improved_unicode", "rayon"] }
lazy-regex = "=3.6.0"
log = "=0.4.33"
miette = "=7.6.0"
nix = { version = "=0.31.3" }
oci-client = { version = "=0.17.0", default-features = false, features = ["rustls-tls"] }
pretty_assertions = "=1.4.1"
rand = "=0.10.2"
rayon = "=1.12.0"
regex = "=1.12.4"
reqwest = { version = "=0.13.4", default-features = false, features = ["rustls"] }
rstest = "=0.26.1"
semver = "=1.0.28"
serde = { version = "=1.0.228", features = ["derive"] }
serde_json = "=1.0.150"
serde_yaml = { version = "=0.10.4", package = "yaml_serde" }
shadow-rs = { version = "=2.0.0", default-features = false }
structstruck = "=0.5.1"
syntect = { version = "=5.3.0", default-features = false, features = ["default-fancy"] }
tempfile = "=3.27.0"
tokio = { version = "=1.52.3", default-features = false }
uuid = { version = "=1.23.4", features = ["v4"] }
which = "=8.0.4"
zeroize = { version = "=1.9.0", features = ["aarch64", "derive", "std", "serde"] }
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
correctness = "deny"
suspicious = "deny"
perf = "deny"
style = "deny"
nursery = "deny"
pedantic = "deny"
module_name_repetitions = { level = "allow", priority = 1 }
doc_markdown = { level = "allow", priority = 1 }
[package]
name = "blue-build"
build = "build.rs"
version.workspace = true
edition.workspace = true
description.workspace = true
repository.workspace = true
license.workspace = true
[package.metadata.release]
pre-release-hook = ["git", "cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"]
pre-release-replacements = [
{ file = "install.sh", search = "VERSION=v\\d+\\.\\d+\\.\\d+", replace = "VERSION=v{{version}}" },
{ file = "flake.nix", search = "version = \"v\\d+\\.\\d+\\.\\d+\";", replace = "version = \"v{{version}}\";" }
]
[dependencies]
blue-build-recipe = { version = "=0.9.36", path = "./recipe" }
blue-build-template = { version = "=0.9.36", path = "./template" }
blue-build-utils = { version = "=0.9.36", path = "./utils" }
blue-build-process-management = { version = "=0.9.36", path = "./process" }
clap-verbosity-flag = "=3.0.4"
clap_complete = "=4.6.7"
clap_complete_nushell = "=4.6.0"
fuzzy-matcher = "=0.3.7"
jsonschema = "=0.30.0"
open = "=5.3.6"
os_info = "=3.15.0"
requestty = { version = "=0.6.3", features = ["macros", "termion"] }
rust-embed = { version = "=8.12.0", features = ["debug-embed", "compression", "deterministic-timestamps"] }
thiserror = "=2.0.18"
urlencoding = "=2.1.3"
yaml-rust2 = "=0.11.0"
cached.workspace = true
clap = { workspace = true, features = ["derive", "cargo", "unicode", "env"] }
colored.workspace = true
comlexr.workspace = true
indexmap.workspace = true
log.workspace = true
miette = { workspace = true, features = ["fancy"] }
oci-client.workspace = true
rayon.workspace = true
regex.workspace = true
reqwest.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
shadow-rs.workspace = true
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
bon.workspace = true
[features]
# Top level features
default = []
v1_0_0 = [
"bootc",
"recipe-v2"
]
bootc = ["blue-build-process-management/bootc"]
vendored-libgit2 = ["dep:git2", "git2/vendored-libgit2"]
recipe-v2 = ["blue-build-recipe/recipe-v2"]
[dev-dependencies]
rusty-hook = "0.11"
rstest.workspace = true
[build-dependencies]
git2 = { version = "=0.20.0", default-features = false, optional = true }
shadow-rs = { workspace = true, default-features = true }
[lints]
workspace = true
[profile.release]
lto = true
codegen-units = 1
strip = "none"
debug = false
panic = "abort"
[profile.dev]
debug = false
[profile.test]
debug = "line-tables-only"