[package]
edition = "2021"
name = "autofloat"
version = "1.0.4"
authors = ["Fabian Meyer <rookfighter@posteo.org"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust library for efficient automatic differentiation"
homepage = "https://github.com/rookfighter/autofloat"
readme = "README.md"
keywords = [
"auto",
"derivative",
"automatic",
"differentiation",
"gradient",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rookfighter/autofloat"
[features]
default = ["std"]
float_impl = []
nalgebra = [
"dep:nalgebra",
"float_impl",
"approx",
"simba",
]
std = [
"float_impl",
"num-traits/std",
]
[lib]
name = "autofloat"
path = "src/lib.rs"
[[example]]
name = "quadratic_closure"
path = "examples/quadratic_closure.rs"
[[example]]
name = "quadratic_explicit"
path = "examples/quadratic_explicit.rs"
[[example]]
name = "quadratic_generic"
path = "examples/quadratic_generic.rs"
[[test]]
name = "autodiff"
path = "tests/autodiff.rs"
[dependencies.approx]
version = "0.5"
optional = true
[dependencies.nalgebra]
version = "0.34"
optional = true
[dependencies.num-traits]
version = "0.2"
[dependencies.simba]
version = "0.9"
optional = true