# 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"
name = "akima_spline"
version = "0.1.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight (only one dependency with 18 SLoC) implementation of a 1d Akima spline with optional smooth extrapolation and derivative calculation"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/StefanMathis/akima_spline.git"
resolver = "2"

[package.metadata.docs.rs]
features = ["serde"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
serde = ["dep:serde"]

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

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

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

[dependencies.horner]
version = "0.1.2"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]
optional = true

[dev-dependencies.approx]
version = "0.6"
package = "approxim"

[dev-dependencies.indoc]
version = "1.0"

[dev-dependencies.serde_yaml]
version = "0.8"
