-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
155 lines (130 loc) · 4.55 KB
/
Copy pathCargo.toml
File metadata and controls
155 lines (130 loc) · 4.55 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
148
149
150
151
152
153
154
155
[package]
name = "forjar"
version = "1.15.0"
edition.workspace = true
rust-version = "1.89.0"
authors = ["Pragmatic AI Labs"]
description = "Rust-native Infrastructure as Code — bare-metal first, BLAKE3 state, provenance tracing"
license.workspace = true
repository.workspace = true
homepage = "https://paiml.com"
keywords = ["iac", "infrastructure", "devops", "provisioning", "bare-metal"]
categories = ["command-line-utilities", "development-tools"]
exclude = ["benches/", ".pmat/", ".pmat-work/", ".claude/", "/state/", "docs/", "examples/", "target/", "*.profraw", "*.profdata", ".vscode/", ".idea/", "proptest-regressions/"]
[workspace]
resolver = "2"
[workspace.package]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paiml/forjar"
[workspace.dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tempfile = "3"
[workspace.lints.rust]
unsafe_code = "forbid"
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(kani)', 'cfg(verus)'] }
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
checked_conversions = "warn"
undocumented_unsafe_blocks = "deny"
[lints]
workspace = true
[dependencies]
blake3 = "1.8"
# Rolling delta engine — forjar computes the delta locally via copia; the receiver
# reports a copia Signature computed with od+awk+b3sum (no staged binary). Exact-pin.
copia = "=0.2.0"
serde.workspace = true
serde_yaml_ng = "0.10"
serde_json.workspace = true
clap = { version = "4", features = ["derive"] }
indexmap = { version = "2.7", features = ["serde"] }
aprender-contracts-macros = "0.31"
base64 = "0.22.1"
bashrs = "6.66.3"
pforge-runtime = "0.1.4"
pforge-config = "0.1.4"
tokio = { version = "1.35", features = ["rt-multi-thread", "macros"] }
async-trait = "0.1"
schemars = { version = "0.8", features = ["derive"] }
regex = "1"
glob = "0.3"
rustc-hash = "2"
age = { version = "0.11", default-features = false, optional = true }
wasmi = { version = "0.40", optional = true }
clap_complete = "4"
zip = { version = "2", default-features = false, features = ["deflate", "bzip2", "zstd"] }
bzip2 = "0.6"
zstd = "0.13"
tar = "0.4"
sha2 = "0.10"
flate2 = "1"
rusqlite = { version = "0.32", features = ["bundled"] }
dhat = { version = "0.3.3", optional = true }
toml = "1.1"
# OpenSSL: system pkg-config by default, vendored for cross-compilation.
# Clean-room CI has libssl-dev; nightly/release builds use vendored-openssl feature.
openssl = "0.10"
[build-dependencies]
aprender-contracts = "0.31"
serde = { version = "1.0", features = ["derive"] }
serde_yaml_ng = "0.10"
[dev-dependencies]
aprender-contracts = "0.31"
tempfile.workspace = true
criterion = { version = "0.8", features = ["html_reports"] }
proptest = "1"
dhat = "0.3.3"
[[bench]]
name = "core_bench"
harness = false
[[bench]]
name = "store_bench"
harness = false
[[bench]]
name = "copia_bench"
harness = false
[[bench]]
name = "cli_bench"
harness = false
[[bench]]
name = "memory_bench"
harness = true
[features]
encryption = ["dep:age"]
wasm-runtime = ["dep:wasmi"]
container-test = []
gpu-container-test = []
dhat-heap = ["dep:dhat"]
vendored-openssl = ["openssl/vendored"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]
[package.metadata.binstall]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-{ target }.tar.gz"
bin-dir = "{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[package.metadata.binstall.overrides.x86_64-unknown-linux-gnu]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-x86_64-unknown-linux-gnu.tar.gz"
[package.metadata.binstall.overrides.x86_64-unknown-linux-musl]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-x86_64-unknown-linux-musl.tar.gz"
[package.metadata.binstall.overrides.aarch64-unknown-linux-gnu]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-aarch64-unknown-linux-gnu.tar.gz"
[package.metadata.binstall.overrides.aarch64-apple-darwin]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-aarch64-apple-darwin.tar.gz"
[package.metadata.binstall.overrides.x86_64-apple-darwin]
pkg-url = "https://github.com/paiml/forjar/releases/download/v{ version }/forjar-{ version }-x86_64-apple-darwin.tar.gz"
[package.metadata.release]
shared-version = true
pre-release-replacements = [
{ file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}" },
]
[profile.dev]
panic = "abort"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = "abort"