# 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.75"
name = "amari-dynamics"
version = "0.22.0"
authors = ["Amari Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Dynamical systems analysis on geometric algebra spaces - stability, bifurcations, attractors, and Lyapunov exponents"
homepage = "https://github.com/justinelliottcobb/Amari"
readme = "README.md"
keywords = [
    "dynamical-systems",
    "stability",
    "bifurcation",
    "lyapunov",
    "geometric-algebra",
]
categories = [
    "mathematics",
    "science",
    "simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/justinelliottcobb/Amari"

[features]
contracts = ["creusot-contracts"]
default = ["std"]
gpu = [
    "wgpu",
    "bytemuck",
    "pollster",
    "futures",
    "tokio",
]
parallel = [
    "rayon",
    "amari-functional/parallel",
]
std = ["amari-core/std"]
stochastic = [
    "amari-probabilistic",
    "rand",
    "rand_distr",
]
wasm = [
    "wasm-bindgen",
    "js-sys",
    "serde",
    "serde-wasm-bindgen",
]

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

[[example]]
name = "bifurcation_diagram"
path = "examples/bifurcation_diagram.rs"

[[example]]
name = "lorenz_attractor"
path = "examples/lorenz_attractor.rs"

[[example]]
name = "phase_portrait"
path = "examples/phase_portrait.rs"

[[example]]
name = "stability_analysis"
path = "examples/stability_analysis.rs"

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

[dependencies.amari-calculus]
version = "0.22.0"

[dependencies.amari-core]
version = "0.22.0"
features = [
    "std",
    "phantom-types",
]

[dependencies.amari-functional]
version = "0.22.0"

[dependencies.amari-probabilistic]
version = "0.22.0"
optional = true

[dependencies.amari-topology]
version = "0.22.0"

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]
optional = true

[dependencies.creusot-contracts]
version = "0.8"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

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

[dependencies.nalgebra]
version = "0.34"

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

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.rand_distr]
version = "0.6"
optional = true

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

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

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

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "sync",
]
optional = true

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

[dependencies.wgpu]
version = "0.19"
optional = true

[dev-dependencies.approx]
version = "0.5"

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

[dev-dependencies.rand]
version = "0.10"
