# 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"
rust-version = "1.82"
name = "opt-einsum-path"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Einsum path optimization for tensor contraction (opt_einsum in Rust, without contraction)"
readme = "readme.md"
keywords = [
    "scientific",
    "einsum",
    "chemistry",
    "physics",
    "tensor",
]
categories = ["science"]
license = "Apache-2.0"
repository = "https://github.com/RESTGroup/opt-einsum-path"

[package.metadata.docs.rs]
features = ["default"]
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--html-in-header",
    "katex-header.html",
]

[features]
default = []
par_rand = ["dep:rayon"]

[lib]
name = "opt_einsum_path"
path = "src/lib.rs"

[[test]]
name = "example"
path = "tests/example.rs"

[[test]]
name = "test_blas"
path = "tests/test_blas.rs"

[[test]]
name = "test_helpers"
path = "tests/test_helpers.rs"

[[test]]
name = "test_parser"
path = "tests/test_parser.rs"

[[test]]
name = "test_paths"
path = "tests/test_paths.rs"

[[test]]
name = "testing"
path = "tests/testing.rs"

[[test]]
name = "timing"
path = "tests/timing.rs"

[dependencies.duplicate]
version = "2.0"

[dependencies.itertools]
version = "0.14"

[dependencies.lazy_static]
version = "1.5"

[dependencies.num]
version = "0.4"

[dependencies.rand]
version = "0.9"

[dependencies.rayon]
version = "1.11"
optional = true

[dev-dependencies.rstest]
version = "0.26"

[profile.dev]
opt-level = 2
