2019-09-14 19:16:06 +02:00
|
|
|
[package]
|
|
|
|
|
name = "iced"
|
2022-05-03 19:43:27 +02:00
|
|
|
version = "0.4.2"
|
2019-09-14 19:16:06 +02:00
|
|
|
authors = ["Héctor Ramón Jiménez <hector0193@gmail.com>"]
|
2022-02-09 17:53:35 +07:00
|
|
|
edition = "2021"
|
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"
|
2021-12-23 09:34:37 +02:00
|
|
|
repository = "https://github.com/iced-rs/iced"
|
2019-09-14 19:16:06 +02:00
|
|
|
documentation = "https://docs.rs/iced"
|
|
|
|
|
readme = "README.md"
|
|
|
|
|
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
|
|
|
|
categories = ["gui"]
|
2021-08-19 03:06:35 +02:00
|
|
|
resolver = "2"
|
2019-09-14 19:16:06 +02:00
|
|
|
|
2019-11-03 04:39:11 +01:00
|
|
|
[features]
|
2022-01-28 16:47:50 +07:00
|
|
|
default = ["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
|
2022-03-09 14:10:15 +07:00
|
|
|
canvas = ["iced_graphics/canvas"]
|
2020-11-20 10:13:58 +01:00
|
|
|
# Enables the `QRCode` widget
|
2022-03-09 14:10:15 +07:00
|
|
|
qr_code = ["iced_graphics/qr_code"]
|
|
|
|
|
# Enables the `iced_wgpu` renderer
|
|
|
|
|
wgpu = ["iced_wgpu"]
|
2020-11-20 10:13:58 +01:00
|
|
|
# Enables using system fonts
|
2020-05-30 19:23:16 +12:00
|
|
|
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"]
|
2020-11-20 10:13:58 +01:00
|
|
|
# Enables using system fonts for `iced_glow`
|
2020-05-30 19:23:16 +12:00
|
|
|
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"]
|
2021-01-13 01:48:35 +01:00
|
|
|
# Enables `smol` as the `executor::Default` on native platforms
|
|
|
|
|
smol = ["iced_futures/smol"]
|
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"]
|
2022-04-30 13:37:57 +02:00
|
|
|
# Enables querying system information
|
|
|
|
|
system = ["iced_winit/system"]
|
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",
|
2021-11-07 18:15:01 +07:00
|
|
|
"lazy",
|
2019-09-20 19:15:31 +02:00
|
|
|
"native",
|
2020-01-01 14:16:10 +01:00
|
|
|
"style",
|
2019-10-08 03:13:41 +02:00
|
|
|
"wgpu",
|
|
|
|
|
"winit",
|
2022-07-27 06:57:49 +02:00
|
|
|
"examples/arc",
|
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",
|
2021-11-08 15:29:58 +07:00
|
|
|
"examples/component",
|
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",
|
2021-12-29 09:31:43 -08:00
|
|
|
"examples/exit",
|
2020-04-29 08:25:42 +02:00
|
|
|
"examples/game_of_life",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/geometry",
|
2021-08-13 20:01:28 +07:00
|
|
|
"examples/integration_opengl",
|
2021-08-13 21:01:33 +07:00
|
|
|
"examples/integration_wgpu",
|
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-11-20 10:13:58 +01:00
|
|
|
"examples/qr_code",
|
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",
|
2022-05-04 17:17:07 +02:00
|
|
|
"examples/system_information",
|
2020-01-20 06:27:01 +01:00
|
|
|
"examples/todos",
|
2020-07-28 18:07:46 +03:00
|
|
|
"examples/tooltip",
|
2021-08-13 21:01:33 +07:00
|
|
|
"examples/tour",
|
2021-04-21 17:52:31 -03:00
|
|
|
"examples/url_handler",
|
2022-05-04 17:17:07 +02:00
|
|
|
"examples/websocket",
|
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]
|
2022-05-02 21:53:25 +02:00
|
|
|
iced_core = { version = "0.5", path = "core" }
|
|
|
|
|
iced_futures = { version = "0.4", path = "futures" }
|
|
|
|
|
iced_native = { version = "0.5", path = "native" }
|
|
|
|
|
iced_graphics = { version = "0.3", path = "graphics" }
|
|
|
|
|
iced_winit = { version = "0.4", path = "winit" }
|
|
|
|
|
iced_glutin = { version = "0.3", path = "glutin", optional = true }
|
|
|
|
|
iced_glow = { version = "0.3", path = "glow", optional = true }
|
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]
|
2022-05-02 21:53:25 +02:00
|
|
|
iced_wgpu = { version = "0.5", path = "wgpu", optional = true }
|
2019-10-03 00:01:45 +02:00
|
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-05-02 21:53:25 +02:00
|
|
|
iced_wgpu = { version = "0.5", path = "wgpu", features = ["webgl"], optional = true }
|
2020-04-05 04:52:03 +02:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
2022-05-02 21:10:55 +02:00
|
|
|
features = ["image", "svg", "canvas", "qr_code", "pure"]
|
2022-05-20 10:34:25 +02:00
|
|
|
|
|
|
|
|
[profile.release-opt]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
codegen-units = 1
|
|
|
|
|
debug = false
|
|
|
|
|
lto = true
|
|
|
|
|
incremental = false
|
|
|
|
|
opt-level = 3
|
|
|
|
|
overflow-checks = false
|
|
|
|
|
strip = "debuginfo"
|