70 lines
1.4 KiB
TOML
70 lines
1.4 KiB
TOML
[package]
|
|
name = "iced_wgpu"
|
|
version = "0.10.0"
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|
edition = "2021"
|
|
description = "A wgpu renderer for Iced"
|
|
license = "MIT AND OFL-1.1"
|
|
repository = "https://github.com/iced-rs/iced"
|
|
|
|
[features]
|
|
geometry = ["iced_graphics/geometry", "lyon"]
|
|
image = ["iced_graphics/image"]
|
|
svg = ["resvg"]
|
|
|
|
[dependencies]
|
|
wgpu = "0.15"
|
|
raw-window-handle = "0.5"
|
|
log = "0.4"
|
|
guillotiere = "0.6"
|
|
futures = "0.3"
|
|
bitflags = "1.2"
|
|
once_cell = "1.0"
|
|
rustc-hash = "1.1"
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
wgpu = { version = "0.15", features = ["webgl"] }
|
|
|
|
[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.bytemuck]
|
|
version = "1.9"
|
|
features = ["derive"]
|
|
|
|
[dependencies.iced_graphics]
|
|
version = "0.8"
|
|
path = "../graphics"
|
|
|
|
[dependencies.glyphon]
|
|
version = "0.2"
|
|
git = "https://github.com/hecrj/glyphon.git"
|
|
rev = "1d26d92b19407c5dabe4625944d4a6babbbf0715"
|
|
|
|
[dependencies.encase]
|
|
version = "0.3.0"
|
|
features = ["glam"]
|
|
|
|
[dependencies.glam]
|
|
version = "0.21.3"
|
|
|
|
[dependencies.lyon]
|
|
version = "1.0"
|
|
optional = true
|
|
|
|
[dependencies.resvg]
|
|
version = "0.32"
|
|
optional = true
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.6"
|
|
optional = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
all-features = true
|