iced-yoda/Cargo.toml

122 lines
3.4 KiB
TOML
Raw Normal View History

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"
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
[features]
default = ["wgpu"]
# Enables the `Image` widget
image = ["iced_wgpu/image"]
# Enables the `Svg` widget
svg = ["iced_wgpu/svg"]
# Enables the `Canvas` widget
canvas = ["iced_graphics/canvas"]
2020-11-20 10:13:58 +01:00
# Enables the `QRCode` widget
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
default_system_font = ["iced_wgpu/default_system_font"]
# 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`
glow_default_system_font = ["iced_glow/default_system_font"]
# 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"]
2021-01-13 01:48:35 +01:00
# Enables `smol` as the `executor::Default` on native platforms
smol = ["iced_futures/smol"]
# Enables advanced color conversion via `palette`
2020-03-31 16:44:02 -05:00
palette = ["iced_core/palette"]
# Enables querying system information
system = ["iced_winit/system"]
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",
"futures",
2020-05-19 17:15:44 +02:00
"graphics",
"glow",
2020-05-21 00:37:47 +02:00
"glutin",
"lazy",
2019-09-20 19:15:31 +02:00
"native",
"style",
"wgpu",
"winit",
2022-07-27 06:57:49 +02:00
"examples/arc",
"examples/bezier_tool",
"examples/clock",
"examples/color_palette",
2021-11-08 15:29:58 +07:00
"examples/component",
"examples/counter",
"examples/custom_widget",
"examples/download_progress",
"examples/events",
2021-12-29 09:31:43 -08:00
"examples/exit",
"examples/game_of_life",
"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",
"examples/pokedex",
"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",
"examples/stopwatch",
"examples/styling",
"examples/svg",
2022-05-04 17:17:07 +02:00
"examples/system_information",
"examples/todos",
2020-07-28 18:07:46 +03:00
"examples/tooltip",
2021-08-13 21:01:33 +07:00
"examples/tour",
"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
[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 }
thiserror = "1.0"
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"