| 1 | [package] |
| 2 | name = "tiny-skia" |
| 3 | version = "0.11.4" |
| 4 | authors = ["Yevhenii Reizner <razrfalcon@gmail.com>" ] |
| 5 | edition = "2018" |
| 6 | description = "A tiny Skia subset ported to Rust." |
| 7 | documentation = "https://docs.rs/tiny-skia/" |
| 8 | readme = "README.md" |
| 9 | repository = "https://github.com/RazrFalcon/tiny-skia" |
| 10 | license = "BSD-3-Clause" |
| 11 | keywords = ["2d" , "rendering" , "skia" ] |
| 12 | categories = ["rendering" ] |
| 13 | |
| 14 | [workspace] |
| 15 | members = ["path" ] |
| 16 | |
| 17 | [dependencies] |
| 18 | arrayref = "0.3.6" |
| 19 | arrayvec = { version = "0.7" , default-features = false } |
| 20 | bytemuck = { version = "1.12" , features = ["aarch64_simd" ] } |
| 21 | cfg-if = "1" |
| 22 | log = "0.4" |
| 23 | png = { version = "0.17" , optional = true } |
| 24 | tiny-skia-path = { version = "0.11.4" , path = "path" , default-features = false } |
| 25 | |
| 26 | [features] |
| 27 | default = ["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. |
| 31 | std = ["tiny-skia-path/std" ] |
| 32 | no-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. |
| 37 | simd = [] |
| 38 | |
| 39 | # Allows loading and saving `Pixmap` as PNG. |
| 40 | png-format = ["std" , "png" ] |
| 41 | |