This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (52 loc) · 1.51 KB
/
Cargo.toml
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 = "fire-crypto"
description = "Crypto library providing encryption and signing."
version = "0.4.3"
authors = ["Sören Meier <[email protected]>"]
repository = "https://github.com/fire-lib/fire-crypto"
homepage = "https://fire-lib.com/"
edition = "2021"
license = "MIT OR Apache-2.0"
keywords = ["crypto", "signature", "cipher"]
categories = ["cryptography"]
rust-version = "1.67"
[package.metadata.docs.rs]
all-features = true
[features]
cipher = [
"zeroize",
"poly1305",
"universal-hash",
"chacha20",
"x25519-dalek",
"generic-array",
]
signature = ["ed25519-dalek"]
b64 = ["base64"]
serde = ["_serde"]
hash = ["blake2", "generic-array"]
protobuf = ["dep:fire-protobuf"]
postgres = ["dep:postgres-types", "dep:bytes"]
[dependencies]
#cipher
zeroize = { version = "1.6", optional = true }
poly1305 = { version = "0.8", optional = true }
universal-hash = { version = "0.5", optional = true }
chacha20 = { version = "0.9", optional = true }
x25519-dalek = { version = "2.0", optional = true, features = [
"static_secrets",
] }
#signature
ed25519-dalek = { version = "2.0", optional = true, features = [
"zeroize",
"rand_core",
] }
#hash
blake2 = { version = "0.10", optional = true }
rand = "0.8"
generic-array = { version = "0.14", optional = true }
base64 = { version = "0.21", optional = true }
_serde = { package = "serde", version = "1.0", optional = true }
fire-protobuf = { version = "0.1.2", optional = true }
postgres-types = { version = "0.2", optional = true }
bytes = { version = "1.6", optional = true }