iced-yoda/Cargo.toml

104 lines
3 KiB
TOML
Raw Normal View History

2019-09-14 19:16:06 +02:00
[package]
name = "iced"
2023-02-18 12:04:40 +01:00
version = "0.8.0"
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"]
[features]
default = ["wgpu"]
# Enables the `Image` widget
image = ["iced_wgpu?/image", "iced_glow?/image", "image_rs"]
# Enables the `Svg` widget
svg = ["iced_wgpu?/svg", "iced_glow?/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", "iced_glow?/default_system_font"]
# Enables the `iced_glow` renderer. Overrides `iced_wgpu`
glow = ["iced_glow", "iced_glutin"]
# 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"]
# Enables chrome traces
chrome-trace = [
"iced_winit/chrome-trace",
2022-11-29 19:50:58 -08:00
"iced_glutin?/trace",
"iced_wgpu?/tracing",
"iced_glow?/tracing",
2022-11-29 19:50:58 -08:00
]
# Enables experimental multi-window support for iced_winit
multi_window = ["iced_winit/multi_window"]
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-11-18 14:16:02 -08:00
"examples/*",
2019-09-10 19:41:49 +02:00
]
2019-10-03 00:01:45 +02:00
[dependencies]
2023-02-18 12:04:40 +01:00
iced_core = { version = "0.8", path = "core" }
iced_futures = { version = "0.6", path = "futures" }
iced_native = { version = "0.9", path = "native" }
iced_graphics = { version = "0.7", path = "graphics" }
iced_winit = { version = "0.8", path = "winit", features = ["application"] }
iced_glutin = { version = "0.7", path = "glutin", optional = true }
iced_glow = { version = "0.7", path = "glow", optional = true }
thiserror = "1.0"
[dependencies.image_rs]
2022-11-05 03:47:08 +01:00
version = "0.24"
package = "image"
optional = true
2019-10-03 00:01:45 +02:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
2023-02-18 12:04:40 +01:00
iced_wgpu = { version = "0.9", path = "wgpu", optional = true }
2019-10-03 00:01:45 +02:00
[target.'cfg(target_arch = "wasm32")'.dependencies]
2023-02-18 12:04:40 +01:00
iced_wgpu = { version = "0.9", path = "wgpu", features = ["webgl"], optional = true }
2020-04-05 04:52:03 +02:00
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]
features = ["image", "svg", "canvas", "qr_code"]
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"