-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
84 lines (70 loc) · 1.78 KB
/
Cargo.toml
File metadata and controls
84 lines (70 loc) · 1.78 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
[workspace]
resolver = "2"
members = [
"crates/pki-client",
"crates/pki-client-output",
"crates/pki-probe",
"crates/pki-hierarchy",
"tools/gen-signing-certs",
"vendor/spork-core",
]
[workspace.package]
version = "0.9.2"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.88.0"
repository = "https://github.com/rayketcham-lab/pki-client"
[workspace.dependencies]
# Shared utilities
thiserror = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
chrono = { version = "0.4", features = ["serde"] }
hex = "0.4"
sha1 = "0.10"
sha2 = "0.10"
rand = "0.9"
rand_core = "0.6"
anyhow = "1"
# CLI dependencies
clap = { version = "4", features = ["derive", "env"] }
clap_complete = "4"
clap_mangen = "0.2"
rustyline = "14"
colored = "2"
humantime = "2"
# TUI dependencies
tabled = "0.15"
# Async runtime
tokio = { version = "1.44", features = ["full"] }
# HTTP client
reqwest = { version = "0.12", features = ["json", "rustls-tls-native-roots", "rustls-tls-webpki-roots", "blocking"], default-features = false }
# TLS / crypto
rustls = { version = "0.23", features = ["aws-lc-rs", "prefer-post-quantum"] }
rustls-native-certs = "0.8"
webpki-roots = "0.26"
# Certificate parsing
x509-parser = "0.16"
pem = "3"
base64 = "0.22"
der = { version = "0.7", features = ["std"] }
# Platform
libc = "0.2"
# Testing
assert_cmd = "2"
predicates = "3"
tempfile = "3"
# Internal crates
pki-client-output = { path = "crates/pki-client-output" }
pki-probe = { path = "crates/pki-probe" }
pki-hierarchy = { path = "crates/pki-hierarchy" }
# CA engine (vendored from spork-ca-engine)
spork-core = { path = "vendor/spork-core" }
[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 1 # Faster crypto operations in dev