mirror of
https://github.com/visioncortex/vtracer.git
synced 2026-08-31 01:15:57 -07:00
fb75738328
Workspace, vtracer-py, and the nodejs wasm crate move from edition 2021 to 2024 (no code changes needed — clean build and test run on 1.95). Module directories switch from foo/mod.rs to the modern foo.rs layout; single-file modules (svg, optimize, compose, fitter) collapse from directories into plain files. Pure git renames, history preserved.
27 lines
1005 B
TOML
27 lines
1005 B
TOML
[package]
|
|
name = "vtracer-py"
|
|
description = "Python bindings for the vtracer vectorization framework."
|
|
version = "1.0.0-alpha.1"
|
|
authors = ["Chris Tsang <tyt2y7@gmail.com>"]
|
|
edition = "2024"
|
|
license = "MIT OR Apache-2.0"
|
|
homepage = "http://www.visioncortex.org/vtracer"
|
|
repository = "https://github.com/visioncortex/vtracer/"
|
|
|
|
# Excluded from the workspace: pyo3 `extension-module` cdylibs don't link
|
|
# libpython, which breaks `cargo test` at the workspace root. Built with
|
|
# maturin. Deps are declared explicitly (no workspace inheritance).
|
|
|
|
[lib]
|
|
# Python imports this as `vtracer`.
|
|
name = "vtracer"
|
|
crate-type = ["cdylib"]
|
|
|
|
[dependencies]
|
|
vtracer = { version = "1.0.0-alpha.1", path = "../vtracer" }
|
|
# 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",
|
|
] }
|
|
pyo3 = { version = "0.26", features = ["extension-module", "abi3-py38"] }
|