mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-09-12 07:06:03 -07:00
5743912da6
vtracer only decodes input, but image's default features pulled a full AV1 encoder (ravif/rav1e) and OpenEXR into the CLI binary and the Python wheel. Restrict to decode-only input formats (png, jpeg, gif, bmp, webp, tiff, ico, pnm, tga, qoi). The release binary drops from ~3.23 MB to ~2.46 MB and builds faster; supported inputs are unchanged in practice (avif decode was never in image's defaults anyway).
25 lines
804 B
TOML
25 lines
804 B
TOML
[package]
|
|
name = "vtracer-cli"
|
|
description = "Command-line front-end for the vtracer vectorization framework."
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
categories = ["graphics", "command-line-utilities"]
|
|
keywords = ["svg", "vectorization", "computer-graphics"]
|
|
|
|
[[bin]]
|
|
name = "vtracer"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
vtracer = { version = "1.0.0-alpha.1", path = "../vtracer" }
|
|
visioncortex.workspace = true
|
|
# Decode-only: trimmed to real input formats (drops the AV1 encoder + OpenEXR).
|
|
image = { version = "0.25", default-features = false, features = [
|
|
"png", "jpeg", "gif", "bmp", "webp", "tiff", "ico", "pnm", "tga", "qoi",
|
|
] }
|
|
clap = { version = "4", features = ["derive"] }
|