diff options
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 39 |
1 files changed, 30 insertions, 9 deletions
@@ -12,8 +12,18 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"] categories = ["gui"] [features] +# Enables the `Image` widget +image = ["iced_wgpu/image"] +# Enables the `Svg` widget +svg = ["iced_wgpu/svg"] +# Enables the `Canvas` widget +canvas = ["iced_wgpu/canvas"] # Enables a debug view in native platforms (press F12) debug = ["iced_winit/debug"] +# Enables `tokio` as the `executor::Default` on native platforms +tokio = ["iced_futures/tokio"] +# Enables `async-std` as the `executor::Default` on native platforms +async-std = ["iced_futures/async-std"] [badges] maintenance = { status = "actively-developed" } @@ -21,24 +31,35 @@ maintenance = { status = "actively-developed" } [workspace] members = [ "core", + "futures", "native", + "style", "web", "wgpu", "winit", + "examples/bezier_tool", + "examples/clock", + "examples/counter", + "examples/custom_widget", + "examples/events", + "examples/geometry", + "examples/integration", + "examples/pokedex", + "examples/progress_bar", + "examples/solar_system", + "examples/stopwatch", + "examples/styling", + "examples/svg", + "examples/todos", + "examples/tour", ] +[dependencies] +iced_futures = { version = "0.1.0-alpha", path = "futures" } + [target.'cfg(not(target_arch = "wasm32"))'.dependencies] iced_winit = { version = "0.1.0-alpha", path = "winit" } iced_wgpu = { version = "0.1.0", path = "wgpu" } [target.'cfg(target_arch = "wasm32")'.dependencies] iced_web = { version = "0.1.0", path = "web" } - -[dev-dependencies] -env_logger = "0.7" -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" -directories = "2.0" - -[target.'cfg(target_arch = "wasm32")'.dev-dependencies] -wasm-bindgen = "0.2.51" |