# 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 = "2021" name = "enterpolation" version = "0.2.1" authors = ["Nicolas Klenert "] exclude = [ "examples/*", ".gitignore", "CHANGELOG.md", "CONTRIBUTING.md", ] description = "A library for creating and computing interpolations, extrapolations and smoothing of generic data points." documentation = "https://docs.rs/enterpolation" readme = "README.md" keywords = [ "interpolation", "curve", "spline", "bspline", "bezier", ] categories = [ "graphics", "mathematics", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/NicolasKlenert/enterpolation" [package.metadata.cargo-all-features] skip_feature_sets = [[ "std", "libm", ]] always_include_features = [[ "std", "libm", ]] max_combination_size = 4 [[example]] name = "bspline_reasoning" path = "examples/bspline_reasoning.rs" required-features = [ "linear", "bezier", "bspline", ] [[example]] name = "gradient" path = "examples/gradient.rs" required-features = ["bspline"] [[example]] name = "linear" path = "examples/linear.rs" required-features = [ "std", "linear", ] [[example]] name = "noise" path = "examples/noise.rs" required-features = ["bspline"] [[example]] name = "nurbs" path = "examples/nurbs.rs" required-features = ["bspline"] [[example]] name = "plateaus" path = "examples/plateaus.rs" required-features = ["linear"] [[bench]] name = "benches" harness = false [dependencies.assert_float_eq] version = "1" default-features = false [dependencies.num-traits] version = "0.2" default-features = false [dependencies.serde] version = "1" features = ["derive"] optional = true default-features = false [dependencies.topology-traits] version = "0.1.2" default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.image] version = "0.24" [dev-dependencies.palette] version = "0.7" [features] bezier = [] bspline = [] default = [ "std", "linear", "bezier", "bspline", ] libm = [ "num-traits/libm", "topology-traits/libm", ] linear = [] serde = ["dep:serde"] std = [ "num-traits/std", "assert_float_eq/std", "topology-traits/std", "serde?/std", ] [badges.maintenance] status = "actively-developed"