# 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 = "amari-enumerative"
version = "0.20.0"
authors = ["Amari Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enumerative geometry capabilities for the Amari library"
readme = "README.md"
keywords = [
    "mathematics",
    "geometry",
    "enumerative",
    "intersection",
    "schubert",
]
categories = [
    "mathematics",
    "science",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/justinelliottcobb/Amari"

[features]
default = [
    "std",
    "high-precision",
    "gf2",
]
gf2 = ["amari-core/gf2"]
high-precision = ["amari-core/high-precision"]
parallel = ["dep:rayon"]
serde = [
    "dep:serde",
    "num-rational/serde",
    "num-bigint/serde",
]
std = []
tropical-schubert = []
wasm = [
    "dep:wasm-bindgen",
    "dep:js-sys",
    "dep:web-sys",
]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.amari-core]
version = "0.20"

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.num-bigint]
version = "0.4"

[dependencies.num-rational]
version = "0.4"

[dependencies.num-traits]
version = "0.2"

[dependencies.once_cell]
version = "1.19"

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

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.web-sys]
version = "0.3"
features = ["console"]
optional = true

[dev-dependencies.criterion]
version = "0.8"

[dev-dependencies.proptest]
version = "1.0"
