# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mathru" version = "0.15.4" authors = ["Matthias Eiholzer "] build = false exclude = [ "literature/*", "tests/*", ".gitignore", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Fundamental algorithms for scientific computing in Rust" homepage = "https://rustmath.gitlab.io/mathru" documentation = "https://docs.rs/crate/mathru/latest/" readme = "README.md" keywords = [ "optimization", "statistics", "algebra", "analysis", ] categories = [ "mathematics", "science", ] license = "MIT" repository = "https://gitlab.com/rustmath/mathru" [package.metadata.docs.rs] rustdoc-args = [ "--html-in-header", "katex.html", ] [profile.bench] opt-level = 3 debug = 0 overflow-checks = false [profile.dev] opt-level = 0 debug = 2 [profile.release] opt-level = 3 lto = true debug = 0 overflow-checks = false [profile.test] opt-level = 0 debug = 2 [lib] name = "mathru" path = "src/lib.rs" [[example]] name = "erf" path = "examples/erf.rs" [[example]] name = "fit_lm" path = "examples/fit_lm.rs" [[example]] name = "gamma" path = "examples/gamma.rs" [[example]] name = "natural_cubic_spline" path = "examples/natural_cubic_spline.rs" [[example]] name = "normal_distribution" path = "examples/normal_distribution.rs" [[example]] name = "periodic_cubic_spline" path = "examples/periodic_cubic_spline.rs" [[example]] name = "sqrt" path = "examples/sqrt.rs" [[example]] name = "t_test_one_sample_two_tailed" path = "examples/t_test_one_sample_two_tailed.rs" [[bench]] name = "benchmark" path = "benches/lib.rs" harness = false [dependencies.blas] version = "^0.22" optional = true [dependencies.blas-src] version = "^0.10" optional = true [dependencies.blas-sys] version = "^0.7" optional = true [dependencies.lambert_w] version = "^0.5.4" features = [ "24bits", "50bits", "std", ] default-features = false [dependencies.lapack] version = "^0.19" optional = true [dependencies.lapack-src] version = "^0.10" optional = true [dependencies.lapack-sys] version = "^0.14" optional = true [dependencies.matrixmultiply] version = "0.3.9" features = [ "cgemm", "threading", ] [dependencies.mint] version = "^0.5" optional = true [dependencies.rand] version = "^0.8" [dependencies.serde] version = "^1.0" features = ["derive"] optional = true [dev-dependencies.criterion] version = "^0.5" features = ["html_reports"] [dev-dependencies.plotters] version = "^0.3" [dev-dependencies.serde_json] version = "^1.0" [features] accelerate = [ "lapack", "blas", "lapack-sys", "blas-sys", "lapack-src/accelerate", "blas-src/accelerate", ] default = ["native"] intel-mkl = [ "lapack", "blas", "lapack-sys", "blas-sys", "lapack-src/intel-mkl", "blas-src/intel-mkl", ] native = [] netlib = [ "lapack", "blas", "lapack-sys", "blas-sys", "lapack-src/netlib", "blas-src/netlib", ] openblas = [ "lapack", "blas", "lapack-sys", "blas-sys", "lapack-src/openblas", "blas-src/openblas", ] serde-serialize = ["serde"] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(has_i128)"]