[package] name = "suan" version = "0.0.4" edition = "2018" repository = "https://github.com/cmpute/num-irrational" keywords = ["math", "mathematics"] description = """ `suan` is a calculator supporting advanced mathematics and multiple precision. It's designed to be both a command line calculator and Python library. It's an alternative to Pari/GP and GNU BC. """ license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] num-modular = "0.5.1" # num-modular = { path = "../../num-modular" } num-bigint = "0.4" num-irrational = "0.3.0" # num-irrational = { path = "../../num-irrational" } num-prime = "0.4.1" # num-prime = { path = "../../num-prime" } num-complex = "0.4" num-rational = "0.4" suan-core = { version = "0.0.4", features = ["pyo3"] } # suan-core = { path = "../core", features = ["pyo3"] } [dependencies.pyo3] version = "0.16.0" features = ["extension-module", "num-bigint", "num-complex"] [dependencies.bigdecimal] version = "0.3.0" optional = true [[bin]] name = "suan" [lib] name = "suan" crate-type = ["cdylib"] [features] default = ["backend-pure"] backend-pure = ["bigdecimal", "suan-core/backend-pure"]