-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
63 lines (56 loc) · 1.95 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
62
63
[package]
name = "libpep"
edition = "2021"
version = "0.6.6"
authors = ["Bernard van Gastel <bvgastel@bitpowder.com>", "Job Doesburg <job@jobdoesburg.nl>"]
homepage = "https://github.com/NOLAI/libpep"
repository = "https://github.com/NOLAI/libpep"
documentation = "https://docs.rs/libpep"
license = "Apache-2.0"
keywords = ["crypto", "pep", "pseudonimization"]
categories = ["command-line-interface"]
description = "implementation of PEP primitives, offering pseudonimization and encryption interfaces"
readme = "README.md"
[features]
default = ["build-binary"]
elgamal3 = []
wasm = ["wasm-bindgen", "getrandom"]
legacy-pep-repo-compatible = []
insecure-methods = []
build-binary = ["buildinfy","commandy","commandy_macros"]
[lib]
name = "libpep"
crate-type = ["cdylib", "rlib"]
path = "src/lib/lib.rs"
[[bin]]
name = "peppy"
required-features = ["build-binary"]
[dependencies]
curve25519-dalek-libpep = { version = "^4.0", features = ["rand_core"] } # This is a published fork of signalapp/curve25519-dalek, which is a fork of popular dalek-cryptography/curve25519-dalek implementing lizard support
rand = { version = "^0.8", features = ["std"] }
rand_core = { version = "^0.6", features = ["std"] }
sha2 = "^0.10"
hmac = "^0.12"
derive_more = { version = "^1.0", features = ["deref", "from", "into"] }
hex = "^0.4"
base64 = "^0.22"
serde = { version = "^1.0", features = ["derive"] }
wasm-bindgen = { version = "0.2", optional = true }
getrandom = { version = "^0.2", features = ["js"], optional = true}
buildinfy = { version = "^0.1", optional = true }
commandy = { version = "^0.2", optional = true }
commandy_macros = { version = "^0.2", optional = true }
[dev-dependencies]
serde_json = "^1.0"
[package.metadata.deb]
name = "peppy"
depends = ""
assets = [
["peppy.1", "usr/man/man1/", "444"],
["target/release/peppy", "usr/bin/peppy", "555"],
]
[package.metadata.freebsd]
assets = [
["peppy.1", "man/man1/", "444"],
["target/release/peppy", "bin/peppy", "555"],
]