# 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 = "2021" name = "intvg" version = "0.1.7" authors = ["MeiHui FAN "] default-run = "intvg" description = "lib/tool in Rust to load/save/render tvg file, parse from svg file by usvg" readme = "README.md" keywords = [ "TinyVG", "SVG", "vector-graphic", "EVG", "Blend2D", ] categories = [ "parser-implementations", "rendering::data-formats", "rendering::engine", "graphics", "multimedia::images", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mhfan/intvg" [profile.dev] opt-level = 1 [profile.dev.package."*"] opt-level = 3 codegen-units = 1 strip = "debuginfo" [profile.release] lto = "fat" codegen-units = 1 panic = "abort" strip = "debuginfo" [lib] [[bin]] name = "nanovg" path = "src/nanovg.rs" required-features = ["nvg"] [[bench]] name = "engine_2d" harness = false [dependencies.femtovg] version = "0.9" optional = true [dependencies.kurbo] version = "0.11" [dependencies.png] version = "0.17" optional = true [dependencies.tiny-skia] version = "0.11" [dependencies.usvg] version = "0.42" [dependencies.winit] version = "0.29" optional = true [dev-dependencies.criterion] version = "0.5" [build-dependencies.bindgen] version = "0.69" [build-dependencies.cc] version = "1.0" features = ["parallel"] [build-dependencies.chrono] version = "0.4" [build-dependencies.glob] version = "0.3" [features] b2d = [] b2d_sfp = ["b2d"] evg = ["dep:png"] evg_fixed = ["evg"] ftg = [] nvg = [ "femtovg", "winit", "glutin", "glutin-winit", "raw-window-handle", ] ovg = [] ugl = [] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin] version = "0.31" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin-winit] version = "0.4" optional = true [target."cfg(not(target_arch = \"wasm32\"))".dependencies.raw-window-handle] version = "0.5" optional = true [target."cfg(target_arch = \"wasm32\")".dependencies.web_sys] version = "0.3" features = [ "console", "WebGlContextAttributes", ] package = "web-sys"