-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
45 lines (33 loc) · 1.25 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
[package]
name = "johnnycanencrypt"
version = "0.15.0"
authors = ["Kushal Das <mail@kushaldas.in>"]
edition = "2021"
description = "Python module for OpenPGP."
documentation = "https://johnnycanencrypt.readthedocs.io/en/latest/index.html"
readme = "README.md"
homepage = "https://johnnycanencrypt.readthedocs.io/en/latest/introduction.html"
repository = "https://github.com/kushaldas/johnnycanencrypt"
license-file = "LICENSE"
exclude = ["examples/**/*.py", "*.patch", "smartcardtests/jce.db"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "johnnycanencrypt"
crate-type = ["cdylib"]
[features]
default = ["pyo3/extension-module"]
[dependencies]
anyhow = "1.0.62"
chrono = "0.4.22"
tempfile = "3.0.0"
#talktosc = { git = "https://github.com/kushaldas/talktosc", branch="main"}
talktosc = "0.2"
sshkeys = "0.3.2"
regex = "1"
time = "0.3"
[target.'cfg(not(target_os = "windows"))'.dependencies]
sequoia-openpgp = { version="1.21.2", default-features = false, features = ["crypto-nettle", "compression"] }
[target.'cfg(target_os = "windows")'.dependencies]
sequoia-openpgp = { version="1.21.2", default-features = false, features = ["crypto-cng", "compression"] }
[dependencies.pyo3]
version = "0.22.2"