# 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 = "cellular_raza-building-blocks"
version = "0.3.0"
authors = ["Jonas Pleyer <jonas.dev@pleyer.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "cellular_raza Building Blocks"
homepage = "https://cellular-raza.com/"
documentation = "https://docs.rs/cellular_raza-building-blocks"
readme = "README.md"
keywords = [
    "cell",
    "cellular",
    "simulation",
]
categories = [
    "science",
    "mathematics",
    "simulation",
]
license = "GPL-2.0"
repository = "https://github.com/jonaspleyer/cellular_raza"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "doc_cfg",
    "--html-in-header",
    ".docs-header.html",
]

[features]
approx = ["dep:approx"]
default = ["gradients"]
gradients = ["cellular_raza-concepts/gradients"]
plotters = [
    "dep:plotters",
    "cellular_raza-concepts/plotters",
]
pyo3 = ["dep:pyo3"]

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

[dependencies.approx]
version = "0.6.5"
optional = true
package = "approxim"

[dependencies.cellular_raza-concepts]
version = "0.3.0"

[dependencies.itertools]
version = "0.14"

[dependencies.nalgebra]
version = "0.34"
features = [
    "serde-serialize",
    "rand",
]

[dependencies.ndarray]
version = ">=0.15"
features = [
    "blas",
    "serde",
    "serde-1",
]

[dependencies.num]
version = "0.4"

[dependencies.plotters]
version = "0.3"
features = [
    "bitmap_backend",
    "bitmap_encoder",
    "bitmap_gif",
    "svg_backend",
    "chrono",
    "image",
    "deprecated_items",
    "all_series",
    "all_elements",
    "full_palette",
    "colormaps",
]
optional = true
default-features = false

[dependencies.pyo3]
version = ">=0.24"
features = [
    "serde",
    "py-clone",
    "serde",
    "py-clone",
]
optional = true

[dependencies.rand]
version = "0.9"
features = [
    "small_rng",
    "small_rng",
]

[dependencies.rand_chacha]
version = "0.9"
features = [
    "serde",
    "serde",
]

[dependencies.rand_distr]
version = "0.5"
features = ["serde"]

[dependencies.rayon]
version = "1.6"

[dependencies.serde]
version = "1.0"

[dev-dependencies.serde_test]
version = "1.0.177"
