2019-09-14 19:16:06 +02:00
|
|
|
[package]
|
|
|
|
|
name = "iced"
|
2020-04-15 08:50:47 +02:00
|
|
|
version = "0.1.1"
|
2019-09-14 19:16:06 +02:00
|
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
|
|
|
|
edition = "2018"
|
2019-09-20 19:15:31 +02:00
|
|
|
description = "A cross-platform GUI library inspired by Elm"
|
2019-09-14 19:16:06 +02:00
|
|
|
license = "MIT"
|
|
|
|
|
repository = "https://github.com/hecrj/iced"
|
|
|
|
|
documentation = "https://docs.rs/iced"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
|
|
|
|
categories = ["gui"]
|
|
|
|
|
|
2019-11-03 04:39:11 +01:00
|
|
|
[features]
|
2020-05-30 19:23:16 +12:00
|
|
|
default = ["wgpu", "default_system_font"]
|
2020-05-27 05:05:13 +02:00
|
|
|
# Enables the `iced_wgpu` renderer
|
|
|
|
|
wgpu = ["iced_wgpu"]
|
2020-02-06 03:56:21 +01:00
|
|
|
# Enables the `Image` widget
|
2020-05-27 05:05:13 +02:00
|
|
|
image = ["iced_wgpu/image"]
|
2020-02-06 03:56:21 +01:00
|
|
|
# Enables the `Svg` widget
|
2020-05-27 05:05:13 +02:00
|
|
|
svg = ["iced_wgpu/svg"]
|
2020-02-12 03:47:36 +01:00
|
|
|
# Enables the `Canvas` widget
|
2020-05-27 05:05:13 +02:00
|
|
|
canvas = ["iced_wgpu/canvas"]
|
2020-05-30 19:23:16 +12:00
|
|
|
# Enables using system fonts.
|
|
|
|
|
default_system_font = ["iced_wgpu/default_system_font"]
|
2020-05-27 05:05:13 +02:00
|
|
|
# Enables the `iced_glow` renderer. Overrides `iced_wgpu`
|
|
|
|
|
glow = ["iced_glow", "iced_glutin"]
|
|
|
|
|
# Enables the `Canvas` widget for `iced_glow`
|
|
|
|
|
glow_canvas = ["iced_glow/canvas"]
|
2020-05-30 19:23:16 +12:00
|
|
|
# Enables using system fonts for `iced_glow`.
|
|
|
|
|
glow_default_system_font = ["iced_glow/default_system_font"]
|
2019-11-03 04:39:11 +01:00
|
|
|
# Enables a debug view in native platforms (press F12)
|
2020-05-27 05:05:13 +02:00
|
|
|
debug = ["iced_winit/debug"]
|
2020-02-06 03:56:21 +01:00
|
|
|
# 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"]
|
2020-03-31 12:11:37 -05:00
|
|
|
# Enables advanced color conversion via `palette`
|
2020-03-31 16:44:02 -05:00
|
|
|
palette = ["iced_core/palette"]
|
2019-11-03 04:39:11 +01:00
|
|
|
|
2019-09-14 19:16:06 +02:00
|
|
|
[badges]
|
|
|
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
|
|
2019-09-10 19:41:49 +02:00
|
|
|
[workspace]
|
|
|
|
|
members = [
|
2019-09-20 19:15:31 +02:00
|
|
|
"core",
|
2020-01-19 10:17:08 +01:00
|
|
|
"futures",
|
2020-05-19 17:15:44 +02:00
|
|
|
"graphics",
|
2020-05-19 14:23:28 +02:00
|
|
|
"glow",
|
2020-05-21 00:37:47 +02:00
|
|
|
"glutin",
|
2019-09-20 19:15:31 +02:00
|
|
|
"native",
|
2020-01-01 14:16:10 +01:00
|
|
|
"style",
|
2019-09-14 19:16:06 +02:00
|
|
|
"web",
|
2019-10-08 03:13:41 +02:00
|
|
|
"wgpu",
|
|
|
|
|
"winit",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/bezier_tool",
|
2020-02-12 03:47:36 +01:00
|
|
|
"examples/clock",
|
2020-04-02 17:52:21 -05:00
|
|
|
"examples/color_palette",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/counter",
|
|
|
|
|
"examples/custom_widget",
|
2020-03-30 06:30:22 +08:00
|
|
|
"examples/download_progress",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/events",
|
2020-04-29 08:25:42 +02:00
|
|
|
"examples/game_of_life",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/geometry",
|
2020-02-09 05:32:56 +01:00
|
|
|
"examples/integration",
|
2020-03-17 04:23:28 +01:00
|
|
|
"examples/pane_grid",
|
2020-07-10 02:50:47 +02:00
|
|
|
"examples/pick_list",
|
2020-03-30 06:30:22 +08:00
|
|
|
"examples/pokedex",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/progress_bar",
|
2020-10-22 16:10:10 -05:00
|
|
|
"examples/scrollable",
|
2020-02-14 05:33:58 +01:00
|
|
|
"examples/solar_system",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/stopwatch",
|
|
|
|
|
"examples/styling",
|
|
|
|
|
"examples/svg",
|
|
|
|
|
"examples/todos",
|
|
|
|
|
"examples/tour",
|
2019-09-10 19:41:49 +02:00
|
|
|
]
|
2019-10-03 00:01:45 +02:00
|
|
|
|
2020-02-06 03:56:21 +01:00
|
|
|
[dependencies]
|
2020-04-08 17:45:54 -05:00
|
|
|
iced_core = { version = "0.2", path = "core" }
|
2020-04-02 17:08:28 +02:00
|
|
|
iced_futures = { version = "0.1", path = "futures" }
|
2020-09-08 00:35:17 +02:00
|
|
|
thiserror = "1.0"
|
2020-02-06 03:56:21 +01:00
|
|
|
|
2019-10-03 00:01:45 +02:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2020-05-27 05:05:13 +02:00
|
|
|
iced_winit = { version = "0.1", path = "winit" }
|
|
|
|
|
iced_glutin = { version = "0.1", path = "glutin", optional = true }
|
|
|
|
|
iced_wgpu = { version = "0.2", path = "wgpu", optional = true }
|
|
|
|
|
iced_glow = { version = "0.1", path = "glow", optional = true}
|
2019-10-03 00:01:45 +02:00
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2020-04-02 17:08:28 +02:00
|
|
|
iced_web = { version = "0.2", path = "web" }
|
2020-04-05 04:52:03 +02:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
features = ["image", "svg", "canvas"]
|