# 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 = "2018" name = "rust-optimal-transport" version = "0.2.0" authors = ["kachark "] exclude = ["assets/*", ".github/*"] description = "A library of optimal transport solvers for Rust" readme = "README.md" keywords = ["optimal-transport", "ot", "machine-learning", "optimization", "ai"] categories = ["algorithms", "mathematics", "science"] license = "MIT" repository = "https://github.com/kachark/rust-optimal-transport" [profile.bench] debug = true [[example]] name = "emd_2D" [[example]] name = "sinkhorn_1D" [[bench]] name = "sinkhorn" harness = false [dependencies.anyhow] version = "1.0" [dependencies.blas-src] version = "0.8" optional = true default-features = false [dependencies.cxx] version = "1.0" [dependencies.ndarray] version = "0.15.4" [dependencies.ndarray-linalg] version = "0.14" [dependencies.ndarray-rand] version = "0.14" [dependencies.ndarray-stats] version = "0.5" [dependencies.ndarray_einsum_beta] version = "0.7.0" [dependencies.num-traits] version = "0.2" [dependencies.openblas-src] version = "0.10" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.numpy] version = "0.15" [dev-dependencies.pyo3] version = "0.15.1" features = ["auto-initialize"] [dev-dependencies.rand] version = "0.8" [build-dependencies.cxx-build] version = "1.0" [features] blas = ["default", "openblas-system"] default = ["ndarray-linalg-openblas-system"] ndarray-linalg-openblas-static = ["ndarray-linalg/openblas-static"] ndarray-linalg-openblas-system = ["ndarray-linalg/openblas-system"] openblas = ["ndarray/blas", "blas-src", "blas-src/openblas", "openblas-src"] openblas-system = ["ndarray/blas", "blas-src", "blas-src/openblas", "openblas-src/cblas", "openblas-src/system"]