# 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 = "rasterize" version = "0.4.3" authors = ["Pavel Aslanov "] build = false include = [ "**/*.rs", "src/svg-colors.txt", "Cargo.toml", "README.md", "LICENSE", "data/squirrel.png", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Simple and small 2D rendering library" homepage = "https://github.com/aslpavel/rasterize" readme = "README.md" keywords = [ "2d", "rendering", ] categories = ["rendering"] license = "MIT" repository = "https://github.com/aslpavel/rasterize.git" [lib] name = "rasterize" path = "src/lib.rs" [[example]] name = "eps" path = "examples/eps.rs" [[example]] name = "firefox" path = "examples/firefox.rs" [[example]] name = "hatchet" path = "examples/hatchet.rs" [[example]] name = "prebench" path = "examples/prebench.rs" [[example]] name = "rasterize" path = "examples/rasterize.rs" [[example]] name = "scene" path = "examples/scene.rs" required-features = ["serde"] [[example]] name = "simple" path = "examples/simple.rs" [[bench]] name = "color_bench" path = "benches/color_bench.rs" harness = false [[bench]] name = "rasterize_bench" path = "benches/rasterize_bench.rs" harness = false [[bench]] name = "scene_bench" path = "benches/scene_bench.rs" harness = false [dependencies.bytemuck] version = "1.13" features = ["derive"] [dependencies.png] version = "^0.17" optional = true [dependencies.serde] version = "1.0" features = [ "rc", "derive", ] optional = true [dependencies.serde_json] version = "1.0" features = ["preserve_order"] optional = true [dependencies.tracing] version = "^0.1" [dev-dependencies.criterion] version = "^0.5" features = ["html_reports"] [dev-dependencies.tracing-subscriber] version = "^0.3" features = ["env-filter"] [features] default = [ "serde", "simd", ] serde = [ "dep:serde", "dep:serde_json", ] simd = []