-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
37 lines (31 loc) · 1.33 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
[package]
name = "pysequoia"
version = "0.1.24"
edition = "2021"
description = "Python bindings for Sequoia PGP"
homepage = "https://github.com/wiktor-k/pysequoia"
repository = "https://github.com/wiktor-k/pysequoia"
# The crate is useless for Rust clients, it's mainly used via Python:
# https://pypi.org/project/pysequoia/
publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "pysequoia"
crate-type = ["cdylib"]
[dependencies]
anyhow = "1"
card-backend-pcsc = "0.5"
chrono = "0.4"
hex = "0.4.3"
once_cell = "1.19"
openpgp-card = "0.4.2"
openpgp-card-sequoia = { version = "0.2.1", default-features = false }
pyo3 = { version = "0.21", features = ["extension-module", "anyhow", "chrono"] }
sequoia-openpgp = { version = "1.20", default-features = false, features = ["compression"] }
testresult = "0.4"
[target.'cfg(target_os = "linux")'.dependencies]
sequoia-openpgp = { version = "1", default-features = false, features = ["crypto-nettle"] }
[target.'cfg(windows)'.dependencies]
sequoia-openpgp = { version = "1", default-features = false, features = ["crypto-cng"] }
[target.'cfg(not(any(target_os = "linux", windows)))'.dependencies]
sequoia-openpgp = { version = "1", default-features = false, features = [ "crypto-rust", "allow-experimental-crypto", "allow-variable-time-crypto"] }