1[package]
2name = "tiny-skia"
3version = "0.11.4"
4authors = ["Yevhenii Reizner <razrfalcon@gmail.com>"]
5edition = "2018"
6description = "A tiny Skia subset ported to Rust."
7documentation = "https://docs.rs/tiny-skia/"
8readme = "README.md"
9repository = "https://github.com/RazrFalcon/tiny-skia"
10license = "BSD-3-Clause"
11keywords = ["2d", "rendering", "skia"]
12categories = ["rendering"]
13
14[workspace]
15members = ["path"]
16
17[dependencies]
18arrayref = "0.3.6"
19arrayvec = { version = "0.7", default-features = false }
20bytemuck = { version = "1.12", features = ["aarch64_simd"] }
21cfg-if = "1"
22log = "0.4"
23png = { version = "0.17", optional = true }
24tiny-skia-path = { version = "0.11.4", path = "path", default-features = false }
25
26[features]
27default = ["std", "simd", "png-format"]
28
29# Enables the use of the standard library. Deactivate this and activate the no-std-float
30# feature to compile for targets that don't have std.
31std = ["tiny-skia-path/std"]
32no-std-float = ["tiny-skia-path/no-std-float"]
33
34# Enables SIMD instructions on x86 (from SSE up to AVX2), WebAssembly (SIMD128)
35# and AArch64 (Neon).
36# Has no effect on other targets. Present mainly for testing.
37simd = []
38
39# Allows loading and saving `Pixmap` as PNG.
40png-format = ["std", "png"]
41