# 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" rust-version = "1.65" name = "kurbo" version = "0.11.1" authors = ["Raph Levien "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A 2D curves library" readme = "README.md" keywords = [ "graphics", "curve", "curves", "bezier", "geometry", ] categories = ["graphics"] license = "MIT OR Apache-2.0" repository = "https://github.com/linebender/kurbo" [package.metadata.docs.rs] features = [ "mint", "schemars", "serde", ] [lib] name = "kurbo" path = "src/lib.rs" [[example]] name = "arclen_accuracy" path = "examples/arclen_accuracy.rs" [[example]] name = "circle" path = "examples/circle.rs" [[example]] name = "cubic_arclen" path = "examples/cubic_arclen.rs" [[example]] name = "ellipse" path = "examples/ellipse.rs" [[example]] name = "fit_poly" path = "examples/fit_poly.rs" [[example]] name = "offset" path = "examples/offset.rs" [[example]] name = "quad_intersect" path = "examples/quad_intersect.rs" [[example]] name = "simplify" path = "examples/simplify.rs" [[bench]] name = "cubic_arclen" path = "benches/cubic_arclen.rs" [[bench]] name = "quad_arclen" path = "benches/quad_arclen.rs" [[bench]] name = "quartic" path = "benches/quartic.rs" [[bench]] name = "rect_expand" path = "benches/rect_expand.rs" [dependencies.arrayvec] version = "0.7.6" default-features = false [dependencies.libm] version = "0.2.8" optional = true [dependencies.mint] version = "0.5.9" optional = true [dependencies.schemars] version = "0.8.21" optional = true [dependencies.serde] version = "1.0.209" features = [ "alloc", "derive", ] optional = true default-features = false [dependencies.smallvec] version = "1.13.2" [dev-dependencies.rand] version = "0.8.5" [features] default = ["std"] libm = ["dep:libm"] mint = ["dep:mint"] schemars = [ "schemars/smallvec", "dep:schemars", ] serde = [ "smallvec/serde", "dep:serde", ] std = [] [target.'cfg(target_arch="wasm32")'.dev-dependencies.getrandom] version = "0.2.15" features = ["js"]