summaryrefslogtreecommitdiffstats
path: root/ffi
diff options
context:
space:
mode:
Diffstat (limited to 'ffi')
-rw-r--r--ffi/Cargo.toml15
1 files changed, 12 insertions, 3 deletions
diff --git a/ffi/Cargo.toml b/ffi/Cargo.toml
index f76c6a61..0d9b43c2 100644
--- a/ffi/Cargo.toml
+++ b/ffi/Cargo.toml
@@ -23,10 +23,10 @@ maintenance = { status = "actively-developed" }
[dependencies]
sequoia-ffi-macros = { path = "../ffi-macros", version = "0.19" }
-sequoia-openpgp = { path = "../openpgp", version = "0.19" }
+sequoia-openpgp = { path = "../openpgp", version = "0.19", default-features = false }
sequoia-core = { path = "../core", version = "0.19" }
-sequoia-store = { path = "../store", version = "0.19" }
-sequoia-net = { path = "../net", version = "0.19" }
+sequoia-store = { path = "../store", version = "0.19", default-features = false }
+sequoia-net = { path = "../net", version = "0.19", default-features = false }
anyhow = "1"
lazy_static = "1.0.0"
libc = "0.2.33"
@@ -39,3 +39,12 @@ filetime = "0.2"
[lib]
crate-type = ["cdylib", "staticlib"]
+
+[features]
+default = ["sequoia-openpgp/default", "sequoia-store/default"]
+crypto-nettle = ["sequoia-openpgp/crypto-nettle"]
+crypto-cng = ["sequoia-openpgp/crypto-cng"]
+compression = ["sequoia-openpgp/compression"]
+compression-deflate = ["sequoia-openpgp/compression-deflate"]
+compression-bzip2 = ["sequoia-openpgp/compression-bzip2"]
+background-services = ["sequoia-store/background-services"]