# 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.88.0"
name = "laddu-core"
version = "0.19.3"
authors = ["Nathaniel Dene Hoffman <dene@cmu.edu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core of the laddu library"
homepage = "https://github.com/denehoffman/laddu"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/denehoffman/laddu"

[package.metadata.docs.rs]
rustdoc-args = [
    "--html-in-header",
    "./docs-header.html",
]

[features]
default = ["rayon"]
execution-context-prototype = []
mpi = ["dep:mpi"]
numpy = ["dep:numpy"]
pyo3 = ["dep:pyo3"]
python = [
    "pyo3",
    "numpy",
]
rayon = ["dep:rayon"]

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

[[bin]]
name = "expression_ir_compile_probe"
path = "bin/expression_ir_compile_probe.rs"

[[bench]]
name = "execution_context_benchmark"
path = "benches/execution_context_benchmark.rs"
harness = false
required-features = ["execution-context-prototype"]

[[bench]]
name = "expression_ir_benchmarks"
path = "benches/expression_ir_benchmarks.rs"
harness = false

[[bench]]
name = "open_benchmark"
path = "benches/open_benchmark.rs"
harness = false

[dependencies.accurate]
version = "0.4.1"

[dependencies.approx]
version = "0.5.1"

[dependencies.arrow]
version = "58.1.0"

[dependencies.auto_ops]
version = "0.3.0"

[dependencies.bitcode]
version = "0.6.9"
features = ["serde"]

[dependencies.dyn-clone]
version = "1.0.20"

[dependencies.factorial]
version = "0.4.0"

[dependencies.fastrand]
version = "2.3.0"

[dependencies.indexmap]
version = "2.13.0"
features = ["serde"]

[dependencies.lazy_static]
version = "1.5.0"

[dependencies.mpi]
version = "0.8.1"
features = ["complex"]
optional = true

[dependencies.nalgebra]
version = "0.34.2"
features = ["serde-serialize"]

[dependencies.num]
version = "0.4.3"
features = ["serde"]

[dependencies.numpy]
version = "0.28.0"
features = ["nalgebra"]
optional = true

[dependencies.oxyroot]
version = "0.1.25"

[dependencies.parking_lot]
version = "0.12.5"
features = ["serde"]

[dependencies.parquet]
version = "58.1.0"

[dependencies.pyo3]
version = "0.28.2"
features = [
    "num-complex",
    "abi3-py37",
]
optional = true

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

[dependencies.serde]
version = "1.0.228"
features = ["rc"]

[dependencies.serde-pickle]
version = "1.2.0"

[dependencies.serde_with]
version = "3.18.0"

[dependencies.shellexpand]
version = "3.1.2"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.typetag]
version = "0.2.21"

[dev-dependencies.criterion]
version = "4.4.1"
features = ["html_reports"]
package = "codspeed-criterion-compat"

[dev-dependencies.mpi_test]
version = "0.1.1"

[dev-dependencies.sysinfo]
version = "0.38.4"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(coverage,coverage_nightly)"]
