# 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 = "inlottie" version = "0.1.9" authors = ["MeiHui FAN "] default-run = "inlottie" description = "lib/tool in Rust to load/save/parse/render lottie animation files" readme = "README.md" keywords = [ "Lottie", "Rive", "Animation", "vector-graphic", ] categories = [ "parser-implementations", "rendering::data-formats", "graphics", "multimedia::images", ] license = "MIT OR Apache-2.0" repository = "https://github.com/mhfan/inlottie" [profile.dev] opt-level = 1 [profile.dev.package."*"] opt-level = 3 [profile.release] lto = "fat" codegen-units = 1 panic = "abort" strip = "debuginfo" [[bin]] name = "vello" path = "src/winit_vello.rs" required-features = ["vello"] [[bin]] name = "blend2d" path = "src/winit_b2d.rs" required-features = ["b2d"] [dependencies.anyhow] version = "1.0" optional = true [dependencies.femtovg] version = "0.9" features = ["image-loading"] [dependencies.image] version = "0.25" optional = true [dependencies.intvg] version = "0.1" optional = true [dependencies.kurbo] version = "0.11" [dependencies.pixels] version = "0.13" optional = true [dependencies.pollster] version = "0.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_repr] version = "0.1" [dependencies.usvg] version = "0.42" [dependencies.vello] version = "0.1" optional = true [dependencies.wgpu] version = "0.20" optional = true [dependencies.winit] version = "0.29" [dev-dependencies.glob] version = "0.3" [dev-dependencies.serde_path_to_error] version = "0.1" [dev-dependencies.serde_test] version = "1.0" [build-dependencies.chrono] version = "0.4" [features] b2d = [ "intvg", "pixels", ] vello = [ "dep:vello", "image", "wgpu", "anyhow", "pollster", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin] version = "0.31" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.glutin-winit] version = "0.4" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.raw-window-handle] version = "0.5" [target."cfg(target_arch = \"wasm32\")".dependencies.web_sys] version = "0.3" features = [ "console", "WebGlContextAttributes", ] package = "web-sys"