Files
vectorcraft/crates/svg/Cargo.toml
T
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00

52 lines
2.0 KiB
TOML

[package]
name = "vectorcraft-svg"
version.workspace = true
edition.workspace = true
license.workspace = true
description = "VectorCraft SVG import and export"
[lints]
workspace = true
[dependencies]
craft-svg = { workspace = true }
craft-mime = { workspace = true }
# Which paths stored in documents may be opened.
craft-docpath = { workspace = true }
vectorcraft-geom = { workspace = true }
vectorcraft-color = { workspace = true }
vectorcraft-doc = { workspace = true }
vectorcraft-effects = { workspace = true }
vectorcraft-brush = { workspace = true }
vectorcraft-text = { workspace = true }
vectorcraft-pathops = { workspace = true }
kurbo = { workspace = true }
# Image elements still go through usvg's image href resolution (src/import/files.rs, src/import/budget.rs).
usvg = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true }
# Live effect params read from filters.
serde_json = { workspace = true }
# SVGZ (gzip, pure-Rust backend: builds for wasm).
flate2 = { workspace = true }
image = { workspace = true }
craft-image-codecs = { workspace = true }
# Image data URLs decoded as usvg decodes them, within a byte limit (MIT OR Apache-2.0; already used by usvg).
data-url = "0.3.2"
# Colour / transform / length parsing for the <text> fallback (MIT OR Apache-2.0; already used by usvg).
svgtypes = "0.16"
simplecss = "0.2.2"
# Bidi classes for the first strong character of `unicode-bidi: plaintext` text (MIT OR Apache-2.0; already used by vectorcraft-text).
unicode-bidi = "0.3.18"
[dev-dependencies]
# Reading embedded font subsets back.
skrifa = { workspace = true }
# A variable font built in code (no font file is committed).
vectorcraft-text = { workspace = true, features = ["test-fonts"] }
craft-svg = { workspace = true, features = ["tree-render", "tree-text"] }
vectorcraft-testkit = { workspace = true }
proptest = { workspace = true }
# How many times the symbol list is read to find symbols by name.
vectorcraft-doc = { workspace = true, features = ["symbol-read-count"] }