-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (52 loc) · 1.58 KB
/
Cargo.toml
File metadata and controls
61 lines (52 loc) · 1.58 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
[package]
name = "chuchi-crypto"
description = "Crypto library providing encryption and signing."
version = "0.2.0-pre.2"
authors = ["Sören Meier <info@soerenmeier.ch>"]
repository = "https://github.com/chuchi-dev/chuchi-crypto"
homepage = "https://chuchi.dev/"
edition = "2024"
license = "MIT OR Apache-2.0"
keywords = ["crypto", "signature", "cipher"]
categories = ["cryptography"]
rust-version = "1.85"
[package.metadata.docs.rs]
all-features = true
[features]
cipher = [
"zeroize",
"poly1305",
"universal-hash",
"chacha20",
"x25519-dalek",
"hybrid-array",
]
signature = ["ed25519-dalek"]
b64 = ["base64"]
serde = ["_serde"]
hash = ["blake2", "hybrid-array"]
protobuf = ["dep:protopuffer"]
postgres = ["dep:postgres-types", "dep:bytes"]
[dependencies]
#cipher
zeroize = { version = "1.6", optional = true }
poly1305 = { version = "0.9.0-rc.6", optional = true }
universal-hash = { version = "0.6.1", optional = true }
chacha20 = { version = "0.10.0", optional = true, features = ["xchacha"] }
x25519-dalek = { version = "3.0.0-pre.6", optional = true, features = [
"static_secrets",
] }
#signature
ed25519-dalek = { version = "3.0.0-pre.6", optional = true, features = [
"zeroize",
"rand_core",
] }
#hash
blake2 = { version = "0.11.0-rc.5", optional = true }
rand = "0.10"
hybrid-array = { version = "0.4.5", optional = true }
base64 = { version = "0.22.1", optional = true }
_serde = { package = "serde", version = "1.0", optional = true }
protopuffer = { version = "0.1", optional = true }
postgres-types = { version = "0.2", optional = true }
bytes = { version = "1.6", optional = true }