Cargo.toml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [package]
  2. name = "cryptography-rust"
  3. version.workspace = true
  4. authors.workspace = true
  5. edition.workspace = true
  6. publish.workspace = true
  7. rust-version.workspace = true
  8. [dependencies]
  9. once_cell = "1"
  10. cfg-if = "1"
  11. pyo3.workspace = true
  12. asn1.workspace = true
  13. cryptography-cffi = { path = "cryptography-cffi" }
  14. cryptography-keepalive = { path = "cryptography-keepalive" }
  15. cryptography-key-parsing = { path = "cryptography-key-parsing" }
  16. cryptography-x509 = { path = "cryptography-x509" }
  17. cryptography-x509-verification = { path = "cryptography-x509-verification" }
  18. cryptography-openssl = { path = "cryptography-openssl" }
  19. pem = { version = "3", default-features = false }
  20. openssl = "0.10.68"
  21. openssl-sys = "0.9.104"
  22. foreign-types-shared = "0.1"
  23. self_cell = "1"
  24. [features]
  25. extension-module = ["pyo3/extension-module"]
  26. default = ["extension-module"]
  27. [lib]
  28. name = "cryptography_rust"
  29. crate-type = ["cdylib"]
  30. [lints.rust]
  31. unexpected_cfgs = { level = "warn", check-cfg = ['cfg(CRYPTOGRAPHY_OPENSSL_300_OR_GREATER)', 'cfg(CRYPTOGRAPHY_OPENSSL_309_OR_GREATER)', 'cfg(CRYPTOGRAPHY_OPENSSL_320_OR_GREATER)', 'cfg(CRYPTOGRAPHY_IS_LIBRESSL)', 'cfg(CRYPTOGRAPHY_IS_BORINGSSL)', 'cfg(CRYPTOGRAPHY_OSSLCONF, values("OPENSSL_NO_IDEA", "OPENSSL_NO_CAST", "OPENSSL_NO_BF", "OPENSSL_NO_CAMELLIA", "OPENSSL_NO_SEED", "OPENSSL_NO_SM4"))'] }