-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
92 lines (76 loc) · 1.92 KB
/
Cargo.toml
File metadata and controls
92 lines (76 loc) · 1.92 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
[workspace]
members = [".", "predicate-authority-desktop"]
resolver = "2"
[package]
name = "predicate-authorityd"
version = "0.7.2"
edition = "2021"
description = "Rust-based sidecar daemon for Predicate Authority"
license = "MIT"
repository = "https://github.com/predicatesystems/predicate-authority"
[lib]
name = "predicate_authorityd"
path = "src/lib.rs"
[[bin]]
name = "predicate-authorityd"
path = "src/main.rs"
[dependencies]
# HTTP server
axum = "0.7"
tokio = { version = "1", features = ["full"] }
tower = { version = "0.4", features = ["util"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
# HTTP client (for control-plane)
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_yaml = "0.9"
# Cryptography
jsonwebtoken = "9"
sha2 = "0.10"
hmac = "0.12"
base64 = "0.22"
p256 = { version = "0.13", features = ["ecdsa"] }
hex = "0.4"
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
rand = "0.8"
zeroize = { version = "1.8", features = ["derive"] }
lru = "0.12"
# Pattern matching (for policy rules)
glob = "0.3"
regex = "1"
# CLI
clap = { version = "4", features = ["derive", "env"] }
# Terminal UI
ratatui = "0.26"
crossterm = "0.27"
# Configuration
toml = "0.8"
# Utilities
chrono = { version = "0.4", features = ["serde"] }
uuid = { version = "1", features = ["v4"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
tempfile = "3"
thiserror = "1"
anyhow = "1"
parking_lot = "0.12"
urlencoding = "2"
# Web UI (embedded static files)
rust-embed = "8"
mime_guess = "2"
futures = "0.3"
async-stream = "0.3"
tokio-stream = "0.1"
[dev-dependencies]
tokio-test = "0.4"
criterion = { version = "0.5", features = ["html_reports"] }
http-body-util = "0.1.3"
[[bench]]
name = "delegation_bench"
harness = false
[profile.release]
lto = true
codegen-units = 1
strip = true