[package]
edition = "2024"
rust-version = "1.85"
name = "multicalc"
version = "0.7.2"
authors = ["akathail <anmolkathail@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Calculus, autodiff, nonlinear least squares and linear algebra in pure safe no_std Rust"
documentation = "https://docs.rs/multicalc"
readme = "README.md"
keywords = [
"no-std",
"autodiff",
"calculus",
"embedded",
"numerical-methods",
]
categories = [
"mathematics",
"no-std",
"no-std::no-alloc",
"embedded",
"science::robotics",
]
license = "MIT"
repository = "https://github.com/kmolan/multicalc-rust"
[features]
alloc = []
default = []
[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 = "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 = "optimization_solvers"
path = "examples/optimization_solvers.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 = "benchmarks"
path = "benches/benchmarks.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"
[lints.clippy]
expect_used = "deny"
panic = "deny"
type_complexity = "allow"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "forbid"