legendre 0.1.2

Block-structured, deterministic, scheduler-driven PDE simulation framework
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.91.0"
name = "legendre"
version = "0.1.2"
authors = ["Tristan Britt <hello@tbritt.xyz>"]
build = false
exclude = [
    ".github/*",
    ".idea/*",
    "assets/*",
    "data/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Block-structured, deterministic, scheduler-driven PDE simulation framework"
homepage = "https://github.com/trbritt/legendre"
documentation = "https://docs.rs/legendre"
readme = "README.md"
keywords = [
    "pde",
    "simulation",
    "phase-field",
    "stencil",
    "hpc",
]
categories = [
    "science",
    "simulation",
    "mathematics",
    "concurrency",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/trbritt/legendre"

[features]
default = []
dev-profiling = ["pprof"]
jemalloc = ["tikv-jemallocator"]

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "core"
path = "benches/core.rs"
harness = false

[dependencies.indicatif]
version = "0.17"
default-features = false

[dependencies.parking_lot]
version = "0.12.5"
features = [
    "arc_lock",
    "hardware-lock-elision",
]
default-features = false

[dependencies.parquet]
version = "59.1.0"
features = ["snap"]
default-features = false

[dependencies.pprof]
version = "0.13.0"
features = ["flamegraph"]
optional = true

[dependencies.rayon]
version = "1.12.0"
features = ["web_spin_lock"]
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[dependencies.tokio]
version = "1.52.3"
features = [
    "macros",
    "sync",
    "time",
    "rt-multi-thread",
]
default-features = false

[dependencies.tracing]
version = "0.1.44"
features = [
    "async-await",
    "release_max_level_info",
]

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

[dev-dependencies.clap]
version = "4.5"
features = ["derive"]

[dev-dependencies.criterion]
version = "5.0.1"
package = "codspeed-criterion-compat"

[dev-dependencies.tempfile]
version = "3.20"

[target.'cfg(not(target_env = "msvc"))'.dependencies.tikv-jemallocator]
version = "0.6"
optional = true

[lints.clippy]
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
inline_always = "allow"
multiple_crate_versions = "allow"
similar_names = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
missing_docs = "warn"
unreachable_code = "deny"
unsafe_code = "allow"
unused_imports = "deny"
unused_must_use = "deny"
unused_variables = "deny"

[profile.bench]
debug = 2

[profile.maxperf]
opt-level = 3
lto = "fat"
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false
incremental = false
inherits = "release"
strip = "symbols"