-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (55 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
71 lines (55 loc) · 1.4 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
[package]
name = "atomic"
version = "0.1.0"
edition = "2021"
description = "Identity for AI agents"
license = "MIT"
repository = "https://github.com/ploton/atomic"
[[bin]]
name = "atomic"
path = "src/main.rs"
[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
# Async
tokio = { version = "1", features = ["rt-multi-thread", "net", "time", "signal", "macros", "io-util", "process"] }
# HTTP server
axum = "0.8"
axum-server = { version = "0.8", features = ["tls-rustls"] }
tower-http = { version = "0.6", features = ["cors"] }
# Serialization
serde = { version = "1", features = ["derive"] }
serde_json = "1"
# Crypto - Ed25519
ed25519-dalek = { version = "2", features = ["rand_core"] }
# Crypto - AES-256-GCM
aes-gcm = "0.10"
# Key derivation
hkdf = "0.12"
sha2 = "0.10"
# Random + encoding
rand = "0.8"
base64 = "0.22"
hex = "0.4"
# HTTP client (for verify command)
reqwest = { version = "0.12", features = ["json", "rustls-tls"], default-features = false }
# Time
chrono = { version = "0.4", features = ["serde"] }
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Error handling
anyhow = "1"
thiserror = "2"
# Storage
rusqlite = { version = "0.34", features = ["bundled"] }
# Misc
bytes = "1"
dirs = "6"
zeroize = { version = "1.8.2", features = ["derive"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true