# 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 = "2024"
name = "idenso"
version = "0.2.5"
authors = ["Lucien Huber <cargo+mail@lucien.ch>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tensor identities for symbolica"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/alphal00p/spenso"
resolver = "2"

[features]
bincode = [
    "dep:bincode",
    "dep:bincode-trait-derive",
]
default = []
python = ["dep:pyo3"]
python_stubgen = [
    "symbolica/python_stubgen",
    "python",
    "dep:pyo3-stub-gen",
]

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

[dependencies.anyhow]
version = "1.0.86"
features = ["backtrace"]

[dependencies.bincode]
version = "2.0"
optional = true

[dependencies.bincode-trait-derive]
version = "0.1.0"
optional = true

[dependencies.itertools]
version = "0.14"

[dependencies.linnet]
version = "0.16"

[dependencies.pyo3]
version = "0.27"
features = ["anyhow"]
optional = true

[dependencies.pyo3-stub-gen]
version = "0.17"
optional = true
default-features = false

[dependencies.spenso]
version = "0.5"
features = ["shadowing"]

[dependencies.spenso-macros]
version = "0.3"

[dependencies.symbolica]
version = "1.2"
default-features = false

[dependencies.thiserror]
version = "2"

[dev-dependencies.insta]
version = "1.38.0"
features = [
    "yaml",
    "json",
    "ron",
    "toml",
]
