-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
53 lines (45 loc) · 1.55 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
[package]
name = "rpm-sequoia"
description = "An implementation of the RPM PGP interface using Sequoia."
version = "1.7.0"
authors = ["Neal H. Walfield <[email protected]>"]
homepage = "https://sequoia-pgp.org/"
repository = "https://github.com/rpm-software-management/rpm-sequoia"
readme = "README.md"
keywords = ["cryptography", "openpgp", "pgp", "signing"]
categories = ["cryptography", "authentication"]
license = "LGPL-2.0-or-later"
edition = "2021"
rust-version = "1.73"
build = "build.rs"
[badges]
maintenance = { status = "actively-developed" }
[dependencies]
anyhow = "1"
buffered-reader = { version = "1", default-features = false }
chrono = { version = "0.4", default-features = false, features = [ "std" ] }
lazy_static = "1"
libc = "0.2"
sequoia-openpgp = { version = "1.21.1", default-features = false }
sequoia-policy-config = "0.6"
thiserror = "1"
[build-dependencies]
anyhow = "1"
cdylib-link-lines = "0.1.4"
[dev-dependencies]
assert_cmd = "2.0"
[lib]
crate-type = ["cdylib"]
[features]
# To use a different cryptographic backend, e.g., OpenSSL, do:
#
# cargo build --release --no-default-features --features crypto-openssl
# We explicitly do not want to enable Sequoia's decompression support.
# Hence we only select a crypto backend.
default = ["crypto-nettle"]
crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
crypto-rust = ["sequoia-openpgp/crypto-rust"]
crypto-cng = ["sequoia-openpgp/crypto-cng"]
crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
crypto-botan = ["sequoia-openpgp/crypto-botan"]
crypto-botan2 = ["sequoia-openpgp/crypto-botan2"]