[package]
name = "synta-python"
version = "0.2.5"
edition = "2021"
description = "Python extension module for the synta ASN.1 library"
license = "MIT OR Apache-2.0"
repository = "https://codeberg.org/abbra/synta"
[lib]
name = "_synta"
crate-type = ["cdylib"]
[features]
default = ["openssl"]
pkcs11-mgmt = ["synta-certificate/pkcs11-mgmt"]
nss = ["pkcs11-mgmt", "synta-certificate/nss", "synta-x509-verification/nss"]
openssl = ["pkcs11-mgmt", "synta-certificate/openssl", "synta-x509-verification/openssl", "pqc"]
pqc = ["synta-certificate/pqc"]
deprecated-pkcs12-algorithms = ["synta-certificate/deprecated-pkcs12-algorithms"]
[dependencies]
synta-python-common = { version = "0.2.5", path = "../synta-python-common" }
synta = { version = "0.2.5", path = "..", default-features = false, features = ["std", "derive"] }
synta-certificate = { version = "0.2.5", path = "../synta-certificate", default-features = false, features = ["derive", "std"] }
synta-x509-verification = { version = "0.2.5", path = "../synta-x509-verification" }
pyo3 = { version = "> 0.26, <0.28", default-features = false, features = ["abi3-py38", "extension-module", "macros"] }