mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-12 08:52:32 +00:00
crates/svg-paths becomes crates/svg (package craft-svg); the geometry reader is craft_svg::paths (was the crate root), color and write keep their names. craft-svg-paths stays as a crate that re-exports them. New, merged from the copies the apps keep: - sniff: is_svg, is_svgz - svgz: bounded gunzip, UTF-8/UTF-16/ISO 8859-1 decoding, compression - guard: element nesting and entity expansion measured on the text (VectorCraft's import/depth.rs text pass and entities.rs) paths: a smooth segment with no control point to reflect starts at the current point (S after a quadratic or a close, T after a cubic or a close), and a relative root width or height (100%, 2em) counts as absent instead of failing the import. Part of #778 and #789.
18 lines
406 B
TOML
18 lines
406 B
TOML
[package]
|
|
name = "craft-svg-paths"
|
|
description = "The former name of craft-svg's geometry reader, CSS colour parser and SVG writer: re-exports them"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
craft-svg = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
kurbo = { workspace = true }
|