[package] name = "ferric_crypto_lib" version = "0.2.7" edition = "2021" authors = ["Tosic.Killer "] description = "A library for Ferric Crypto" repository = "https://gitlab.com/ferric1/ferric_crypto" readme = "README.md" keywords = ["ferric", "crypto", "rust", "cryptography", "brute-force"] categories = ["cryptography"] license = "MIT" homepage = "https://gitlab.com/ferric1/ferric_crypto" documentation = "https://docs.rs/ferric_crypto_lib" exclude = ["templates/*", "sage/*"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] name = "ferric_crypto_lib" crate-type = ["cdylib", "rlib"] [dependencies] pyo3 = { version = "0.20.0", optional = true } rand = "0.8.5" itertools = "0.12.0" nalgebra = "0.32.3" num-integer="0.1.45" lazy_static = "1.4.0" rayon = "1.8.0" strsim = "0.10.0" thiserror = "1.0.50" pyo3-helper-macros = { version = "0.0.6", optional = true, features = ["multiple_pymethod"] } rug = { version = "1.22.0", features = ["integer", "num-traits"]} gmp-mpfr-sys = { version = "1.6.1", features = ["force-cross"] } num-bigint = "0.4.4" # this is only for the ease of use factorizing numbers num-prime = "0.4.3" num-traits = "0.2.17" [features] default = ["parallel", "custom-enconding"] #default = ["parallel", "custom-enconding", "debug"] python-integration = ["dep:pyo3", "dep:pyo3-helper-macros", "pyo3/extension-module", "pyo3/multiple-pymethods"] parallel = [] sequential = [] debug = [] custom-enconding = []