stroke 0.3.0

Zero-allocation, const-generic implementations of Bézier and B-Spline curves in N-dimensional euclidean space.
Documentation
# 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"
rust-version = "1.95"
name = "stroke"
version = "0.3.0"
authors = ["Dorian Prill"]
build = false
include = [
    "Cargo.toml",
    "CHANGELOG.md",
    "README.md",
    "LICENSE",
    "rust-toolchain",
    "src/**",
    "examples/**/*.rs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-allocation, const-generic implementations of Bézier and B-Spline curves in N-dimensional euclidean space."
readme = "README.md"
keywords = [
    "point",
    "bezier",
    "spline",
    "graphics",
    "path",
]
categories = [
    "no-std",
    "science",
    "graphics",
    "mathematics",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/dorianprill/stroke"

[features]
nalgebra = ["dep:nalgebra"]

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

[[example]]
name = "arc_length_sampling"
path = "examples/arc_length_sampling.rs"

[[example]]
name = "bezier_path"
path = "examples/bezier_path.rs"

[[example]]
name = "bezier_quarter_circle"
path = "examples/bezier_quarter_circle.rs"

[[example]]
name = "bspline_path"
path = "examples/bspline_path.rs"

[[example]]
name = "bspline_signal_1d"
path = "examples/bspline_signal_1d.rs"

[[example]]
name = "nalgebra_basic"
path = "examples/nalgebra_basic.rs"

[[example]]
name = "plotters_cubic_bezier"
path = "examples/plotters_cubic_bezier.rs"
test = false

[[example]]
name = "tangent_normal_curvature"
path = "examples/tangent_normal_curvature.rs"

[dependencies.nalgebra]
version = "^0.34.1"
features = ["libm"]
optional = true
default-features = false

[dependencies.num-traits]
version = "^0.2"
features = ["libm"]
default-features = false

[dependencies.tinyvec]
version = "^1.10.0"

[dev-dependencies.plotters]
version = "^0.3"