-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
64 lines (55 loc) · 2.62 KB
/
Copy pathCargo.toml
File metadata and controls
64 lines (55 loc) · 2.62 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
[workspace]
members = [".", "aikey-sdk"]
[package]
name = "aikeylabs-aikey-cli"
version = "0.4.0-alpha.1"
edition = "2021"
authors = ["AiKey Founder <aikeyfounder@gmail.com>"]
description = "Secure local-first secret management CLI tool"
license = "Apache-2.0"
repository = "https://github.com/aikeylabs/aikey-cli"
keywords = ["aikeylabs", "aikey", "cli", "key-management", "cli-utilities"]
categories = ["command-line-utilities"]
[lib]
name = "aikeylabs_aikey_cli"
path = "src/lib.rs"
[[bin]]
name = "aikey"
path = "src/main.rs"
[dependencies]
# CLI framework
clap = { version = "4.0", features = ["derive"] }
# Database
rusqlite = { version = "0.29", features = ["bundled"] }
# Cryptography and hashing
argon2 = "0.5" # Password hashing with Argon2id
aes-gcm = "0.10" # AES-GCM authenticated encryption
rand = "0.8" # Cryptographically secure random number generation
secrecy = "0.8" # Memory-safe secret handling, prevents leakage in logs
zeroize = { version = "1.8", features = ["derive", "serde"] } # Explicit memory zeroing for sensitive data
arboard = "3.4" # Clipboard access for Magic Add feature
rpassword = "7.3" # Secure password input without echo
hmac = "0.12" # HMAC for integrity verification
sha2 = "0.10" # SHA-256 for HMAC
hex = "0.4" # Hex encoding for HMAC display
bincode = "1.3" # Binary serialization for .akb format
serde = { version = "1.0", features = ["derive"] } # Serialization framework
serde_json = "1.0" # JSON serialization for export/import
base64 = "0.21" # Base64 encoding for JSON export
shell-words = "1.1" # Shell command parsing for run command
colored = "2.1" # ANSI terminal colors; auto-disabled on non-TTY / NO_COLOR
ureq = { version = "2.10", features = ["tls", "json"] } # Blocking HTTP client for control-service API calls
ctrlc = "3.4" # Signal handling for graceful shutdown
rayon = "1.8" # Parallel iteration for performance
dirs = "5.0" # Home directory detection for config files
keyring = "2" # OS keychain access for session password cache (macOS/Windows/Linux)
atty = "0.2" # TTY detection to skip interactive prompts in CI/non-interactive contexts
[target.'cfg(unix)'.dependencies]
libc = "0.2" # System calls for mlock (memory pinning)
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_System_Memory", "Win32_Foundation"] }
[dev-dependencies]
assert_cmd = "2.0" # Test CLI applications
predicates = "3.0" # Assertions for command output
tempfile = "3.8" # Temporary directories for isolated tests
serde_json = "1.0" # JSON parsing for metadata tests