# 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 = "linesweeper" version = "0.5.0" authors = ["Joe Neeman "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Robust sweep-line algorithm and two-dimensional boolean ops" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/jneem/linesweeper" [features] arbitrary = ["dep:arbitrary"] debug-svg = ["dep:svg"] generators = [] slow-asserts = [] [lib] name = "linesweeper" path = "src/lib.rs" bench = false [[example]] name = "boolean_op" path = "examples/boolean_op.rs" required-features = ["generators"] [[example]] name = "bus" path = "examples/bus.rs" [[example]] name = "curve_metrics" path = "examples/curve_metrics.rs" [[example]] name = "visualize_op" path = "examples/visualize_op.rs" [[example]] name = "winding-numbers" path = "examples/winding-numbers.rs" [[test]] name = "fonts" path = "tests/fonts.rs" harness = false [[test]] name = "paperjs" path = "tests/paperjs.rs" harness = false [[test]] name = "regression" path = "tests/regression.rs" harness = false [[test]] name = "snapshots" path = "tests/snapshots.rs" harness = false [[bench]] name = "linebender_logo" path = "benches/linebender_logo.rs" harness = false [[bench]] name = "painted_dreams" path = "benches/painted_dreams.rs" harness = false [[bench]] name = "synthetic" path = "benches/synthetic.rs" harness = false required-features = ["generators"] [dependencies.arbitrary] version = "1.4.1" features = ["derive"] optional = true [dependencies.arrayvec] version = "0.7.6" features = ["serde"] [dependencies.kurbo] version = "0.13.0" features = ["serde"] [dependencies.polycool] version = "0.4.0" [dependencies.rustc-hash] version = "2.1.1" [dependencies.smallvec] version = "1.15.1" [dependencies.svg] version = "0.18" optional = true default-features = false [dev-dependencies.anyhow] version = "1.0.80" [dev-dependencies.arbitrary] version = "1.4.1" features = ["derive"] [dev-dependencies.arbtest] version = "0.3.2" [dev-dependencies.assert_matches] version = "1.5.0" [dev-dependencies.clap] version = "4.5.1" features = ["derive"] [dev-dependencies.color] version = "0.3.2" [dev-dependencies.glam] version = "0.29.0" [dev-dependencies.glob] version = "0.3.2" [dev-dependencies.gungraun] version = "0.17.0" [dev-dependencies.i_overlay] version = "1.9.4" [dev-dependencies.insta] version = "1.41.1" features = [ "serde", "ron", ] [dev-dependencies.libtest-mimic] version = "0.8.1" [dev-dependencies.proptest] version = "1.4.0" [dev-dependencies.serde] version = "1.0.216" features = ["derive"] [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.skrifa] version = "0.31.0" [dev-dependencies.svg] version = "0.18" default-features = false [dev-dependencies.tiny-skia] version = "0.11.4" [dev-dependencies.usvg] version = "0.46.0" default-features = false [profile.bench] debug = 2 strip = false [profile.dev.package."*"] opt-level = 2