diff options
Diffstat (limited to 'tiny_skia/Cargo.toml')
-rw-r--r-- | tiny_skia/Cargo.toml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tiny_skia/Cargo.toml b/tiny_skia/Cargo.toml new file mode 100644 index 00000000..400eee6a --- /dev/null +++ b/tiny_skia/Cargo.toml @@ -0,0 +1,39 @@ +[package] +name = "iced_tiny_skia" +version = "0.1.0" +edition = "2021" + +[features] +image = ["iced_graphics/image"] +svg = ["resvg"] +geometry = ["iced_graphics/geometry"] + +[dependencies] +raw-window-handle = "0.5" +softbuffer = "0.2" +tiny-skia = "0.9" +bytemuck = "1" +rustc-hash = "1.1" +kurbo = "0.9" +log = "0.4" + +[dependencies.iced_graphics] +version = "0.8" +path = "../graphics" +features = ["tiny-skia"] + +[dependencies.cosmic-text] +git = "https://github.com/hecrj/cosmic-text.git" +rev = "b85d6a4f2376f8a8a7dadc0f8bcb89d4db10a1c9" + +[dependencies.twox-hash] +version = "1.6" +default-features = false + +[target.'cfg(not(target_arch = "wasm32"))'.dependencies.twox-hash] +version = "1.6.1" +features = ["std"] + +[dependencies.resvg] +version = "0.32" +optional = true |