pravash 1.2.0

Fluid dynamics simulation — SPH, Euler/Navier-Stokes, shallow water, buoyancy, drag, vortex dynamics
Documentation
# 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"
rust-version = "1.89"
name = "pravash"
version = "1.2.0"
build = false
exclude = [
    ".claude/",
    ".github/",
    "docs/",
    "scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fluid dynamics simulation — SPH, Euler/Navier-Stokes, shallow water, buoyancy, drag, vortex dynamics"
homepage = "https://github.com/MacCracken/pravash"
documentation = "https://docs.rs/pravash"
readme = "README.md"
keywords = [
    "fluid",
    "simulation",
    "physics",
    "sph",
    "navier-stokes",
]
categories = [
    "science",
    "simulation",
]
license = "GPL-3.0-only"
repository = "https://github.com/MacCracken/pravash"

[features]
ai = [
    "dep:reqwest",
    "dep:tokio",
    "dep:serde_json",
]
buoyancy = []
compute = []
coupling = []
default = [
    "sph",
    "grid",
    "shallow",
]
full = [
    "sph",
    "grid",
    "shallow",
    "buoyancy",
    "vortex",
    "coupling",
    "compute",
    "parallel",
    "ai",
    "logging",
]
grid = []
logging = [
    "dep:tracing-subscriber",
    "dep:tracing-chrome",
]
parallel = ["dep:rayon"]
shallow = []
sph = []
vortex = []

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

[[example]]
name = "basic_fluid"
path = "examples/basic_fluid.rs"
required-features = ["sph"]

[[example]]
name = "multiphase"
path = "examples/multiphase.rs"
required-features = ["sph"]

[[example]]
name = "shallow_water"
path = "examples/shallow_water.rs"
required-features = ["shallow"]

[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = [
    "sph",
    "grid",
    "shallow",
    "buoyancy",
    "vortex",
    "coupling",
]

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
required-features = [
    "sph",
    "grid",
    "shallow",
    "coupling",
]

[dependencies.hisab]
version = "1.1"
features = [
    "num",
    "geo",
    "autodiff",
]

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

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-chrome]
version = "0.7"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.serde_json]
version = "1"