[package]
edition = "2024"
rust-version = "1.85"
name = "multicalc"
version = "0.7.0"
authors = ["akathail <anmolkathail@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust scientific computing for single and multi-variable calculus"
documentation = "https://docs.rs/multicalc"
readme = "README.md"
keywords = [
"Math",
"Science",
"Calculus",
"Differentiation",
"Integration",
]
categories = [
"mathematics",
"science",
"no-std",
]
license = "MIT"
repository = "https://github.com/kmolan/multicalc-rust"
[features]
alloc = []
default = []
embedded = []
[lib]
name = "multicalc"
path = "src/lib.rs"
[[example]]
name = "approximation"
path = "examples/approximation.rs"
[[example]]
name = "curve_fit"
path = "examples/curve_fit.rs"
[[example]]
name = "differentiation"
path = "examples/differentiation.rs"
[[example]]
name = "embedded_curve_fit"
path = "examples/embedded_curve_fit.rs"
required-features = ["embedded"]
[[example]]
name = "gaussian_integration"
path = "examples/gaussian_integration.rs"
[[example]]
name = "iterative_integration"
path = "examples/iterative_integration.rs"
[[example]]
name = "jacobian_hessian"
path = "examples/jacobian_hessian.rs"
[[example]]
name = "linear_algebra"
path = "examples/linear_algebra.rs"
[[example]]
name = "root_finding"
path = "examples/root_finding.rs"
[[example]]
name = "svd"
path = "examples/svd.rs"
[[example]]
name = "vector_field"
path = "examples/vector_field.rs"
[[test]]
name = "approximation"
path = "tests/approximation.rs"
[[test]]
name = "gaussian_tables"
path = "tests/gaussian_tables.rs"
[[test]]
name = "linear_algebra"
path = "tests/linear_algebra.rs"
[[test]]
name = "numerical_derivative"
path = "tests/numerical_derivative.rs"
[[test]]
name = "numerical_integration"
path = "tests/numerical_integration.rs"
[[test]]
name = "optimization"
path = "tests/optimization.rs"
[[test]]
name = "root_finding"
path = "tests/root_finding.rs"
[[test]]
name = "scalar"
path = "tests/scalar.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"
[[test]]
name = "vector_field"
path = "tests/vector_field.rs"
[[bench]]
name = "calculus"
path = "benches/calculus.rs"
harness = false
[[bench]]
name = "linear_algebra"
path = "benches/linear_algebra.rs"
harness = false
[[bench]]
name = "optimization"
path = "benches/optimization.rs"
harness = false
[[bench]]
name = "root_finding"
path = "benches/root_finding.rs"
harness = false
[dependencies.libm]
version = "0.2"
[target.'cfg(not(target_arch = "arm"))'.dev-dependencies.criterion]
version = "0.5"
[target.'cfg(not(target_arch = "arm"))'.dev-dependencies.rand]
version = "0.8"
[target.'cfg(target_arch = "arm")'.dev-dependencies.cortex-m-rt]
version = "0.7"
[lints.clippy]
type_complexity = "allow"
[lints.rust]
unsafe_code = "forbid"