mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
Add the linesweeper 0.5.0 package to vendor/ with no file changed, so that a fix to it can reach the Craft apps through this repository without waiting for a linesweeper release. The GitHub repository its manifest names is archived, and its README says development moved off GitHub. Leave out the test font (fonts live in craft-fonts), the logo artwork, the snapshot images and the package's repository tooling. SOURCE.json lists each with its hash. Add a workspace exclude, a [patch.crates-io] entry, SOURCE.json with the archive hash and per-file hashes, NOTICE and ATTRIBUTION.md rows, and the package's tests in the backend test script. craft-prepress's flatten feature now builds against the copy, so Cargo.lock drops the package's registry source and checksum.
195 lines
3.4 KiB
TOML
195 lines
3.4 KiB
TOML
# 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 <joe@neeman.me>"]
|
|
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
|