-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathCargo.toml
More file actions
78 lines (63 loc) · 2.53 KB
/
Cargo.toml
File metadata and controls
78 lines (63 loc) · 2.53 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
[workspace]
members = ["crates/*"]
default-members = ["crates/*"]
resolver = "2"
[workspace.package]
authors = ["Jeff Gardner <j@jeffg.me>", "MDK Developers"]
homepage = "https://github.com/marmot-protocol/mdk"
repository = "https://github.com/marmot-protocol/mdk"
license = "MIT"
rust-version = "1.90.0"
[workspace.dependencies]
# Internal crates
mdk-memory-storage = { version = "0.7.1", path = "./crates/mdk-memory-storage", default-features = false }
mdk-sqlite-storage = { version = "0.7.1", path = "./crates/mdk-sqlite-storage", default-features = false }
mdk-storage-traits = { version = "0.7.1", path = "./crates/mdk-storage-traits", default-features = false }
mdk-core = { version = "0.7.1", path = "./crates/mdk-core", default-features = false }
# OpenMLS family
openmls = { version = "0.8.1", default-features = false }
openmls_traits = { version = "0.5", default-features = false }
openmls_basic_credential = { version = "0.5", default-features = false }
openmls_rust_crypto = { version = "0.5.1", default-features = false }
# Nostr
nostr = { version = "0.44", default-features = false }
# Serialization
serde = { version = "1.0", default-features = false }
serde_json = { version = "1.0", default-features = false }
postcard = { version = "1.1", default-features = false }
tls_codec = "0.4"
# Cryptography
base64 = "0.22"
chacha20poly1305 = "0.10"
hkdf = "0.12"
sha2 = "0.10"
# Image processing (optional features)
image = { version = "0.25", default-features = false }
blurhash = "0.2"
kamadak-exif = "0.6"
# Storage
rusqlite = { version = "0.37", default-features = false }
refinery = "0.9"
# Random number generation
getrandom = "0.4"
# Secure credential storage (v4 architecture - see https://github.com/open-source-cooperative/keyring-rs/issues/259)
keyring-core = "0.7"
# Utilities
hex = { version = "0.4", default-features = false }
lru = { version = "0.16", default-features = false }
parking_lot = "0.12"
thiserror = "2"
zeroize = { version = "1.8", features = ["zeroize_derive"] }
# Async
tokio = { version = "1.47", default-features = false }
# Logging
tracing = { version = "0.1", default-features = false }
tracing-subscriber = "0.3"
# Testing
tempfile = "3.20"
[profile.release]
opt-level = "z" # Optimize for binary size over speed
lto = "thin" # Thin LTO: cross-crate optimization without embedding full IR in .a archives
codegen-units = 1 # Single codegen unit for maximum optimization
panic = "abort" # No unwinding machinery; safe at UniFFI FFI boundary
strip = true # Strip all symbols from the output binary