163 lines
4.4 KiB
TOML
163 lines
4.4 KiB
TOML
[package]
|
|
name = "iced"
|
|
description = "A cross-platform GUI library inspired by Elm"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
categories.workspace = true
|
|
keywords.workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
all-features = true
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[features]
|
|
default = ["wgpu"]
|
|
# Enable the `wgpu` GPU-accelerated renderer backend
|
|
wgpu = ["iced_renderer/wgpu", "iced_widget/wgpu"]
|
|
# Enables the `Image` widget
|
|
image = ["iced_widget/image", "dep:image"]
|
|
# Enables the `Svg` widget
|
|
svg = ["iced_widget/svg"]
|
|
# Enables the `Canvas` widget
|
|
canvas = ["iced_widget/canvas"]
|
|
# Enables the `QRCode` widget
|
|
qr_code = ["iced_widget/qr_code"]
|
|
# Enables lazy widgets
|
|
lazy = ["iced_widget/lazy"]
|
|
# 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"]
|
|
# Enables `smol` as the `executor::Default` on native platforms
|
|
smol = ["iced_futures/smol"]
|
|
# Enables advanced color conversion via `palette`
|
|
palette = ["iced_core/palette"]
|
|
# Enables querying system information
|
|
system = ["iced_winit/system"]
|
|
# Enables broken "sRGB linear" blending to reproduce color management of the Web
|
|
web-colors = ["iced_renderer/web-colors"]
|
|
# Enables the WebGL backend, replacing WebGPU
|
|
webgl = ["iced_renderer/webgl"]
|
|
# Enables the syntax `highlighter` module
|
|
highlighter = ["iced_highlighter"]
|
|
# Enables experimental multi-window support.
|
|
multi-window = ["iced_winit/multi-window"]
|
|
# Enables the advanced module
|
|
advanced = []
|
|
|
|
[dependencies]
|
|
iced_core.workspace = true
|
|
iced_futures.workspace = true
|
|
iced_renderer.workspace = true
|
|
iced_widget.workspace = true
|
|
iced_winit.features = ["application"]
|
|
iced_winit.workspace = true
|
|
|
|
iced_highlighter.workspace = true
|
|
iced_highlighter.optional = true
|
|
|
|
thiserror.workspace = true
|
|
|
|
image.workspace = true
|
|
image.optional = true
|
|
|
|
[profile.release-opt]
|
|
inherits = "release"
|
|
codegen-units = 1
|
|
debug = false
|
|
lto = true
|
|
incremental = false
|
|
opt-level = 3
|
|
overflow-checks = false
|
|
strip = "debuginfo"
|
|
|
|
[workspace]
|
|
members = [
|
|
"core",
|
|
"futures",
|
|
"graphics",
|
|
"highlighter",
|
|
"renderer",
|
|
"runtime",
|
|
"style",
|
|
"tiny_skia",
|
|
"wgpu",
|
|
"widget",
|
|
"winit",
|
|
"examples/*",
|
|
]
|
|
|
|
[workspace.package]
|
|
version = "0.12.0"
|
|
authors = ["Héctor Ramón Jiménez <hector@hecrj.dev>"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
repository = "https://github.com/iced-rs/iced"
|
|
homepage = "https://iced.rs"
|
|
categories = ["gui"]
|
|
keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
|
|
|
[workspace.dependencies]
|
|
iced = { version = "0.12", path = "." }
|
|
iced_core = { version = "0.12", path = "core" }
|
|
iced_futures = { version = "0.12", path = "futures" }
|
|
iced_graphics = { version = "0.12", path = "graphics" }
|
|
iced_highlighter = { version = "0.12", path = "highlighter" }
|
|
iced_renderer = { version = "0.12", path = "renderer" }
|
|
iced_runtime = { version = "0.12", path = "runtime" }
|
|
iced_style = { version = "0.12", path = "style" }
|
|
iced_tiny_skia = { version = "0.12", path = "tiny_skia" }
|
|
iced_wgpu = { version = "0.12", path = "wgpu" }
|
|
iced_widget = { version = "0.12", path = "widget" }
|
|
iced_winit = { version = "0.12", path = "winit" }
|
|
|
|
async-std = "1.0"
|
|
bitflags = "1.0"
|
|
bytemuck = { version = "1.0", features = ["derive"] }
|
|
cosmic-text = "0.10"
|
|
futures = "0.3"
|
|
glam = "0.24"
|
|
glyphon = { git = "https://github.com/grovesNL/glyphon.git", rev = "2caa9fc5e5923c1d827d177c3619cab7e9885b85" }
|
|
guillotiere = "0.6"
|
|
half = "2.2"
|
|
image = "0.24"
|
|
kamadak-exif = "0.5"
|
|
kurbo = "0.9"
|
|
log = "0.4"
|
|
lyon = "1.0"
|
|
lyon_path = "1.0"
|
|
num-traits = "0.2"
|
|
once_cell = "1.0"
|
|
ouroboros = "0.17"
|
|
palette = "0.7"
|
|
qrcode = { version = "0.12", default-features = false }
|
|
raw-window-handle = "0.5"
|
|
resvg = "0.36"
|
|
rustc-hash = "1.0"
|
|
smol = "1.0"
|
|
softbuffer = "0.2"
|
|
syntect = "5.1"
|
|
sysinfo = "0.28"
|
|
thiserror = "1.0"
|
|
tiny-skia = "0.11"
|
|
tokio = "1.0"
|
|
tracing = "0.1"
|
|
xxhash-rust = { version = "0.8", features = ["xxh3"] }
|
|
unicode-segmentation = "1.0"
|
|
wasm-bindgen-futures = "0.4"
|
|
wasm-timer = "0.2"
|
|
web-sys = "0.3"
|
|
web-time = "0.2"
|
|
wgpu = "0.18"
|
|
winapi = "0.3"
|
|
window_clipboard = "0.3"
|
|
winit = { git = "https://github.com/iced-rs/winit.git", rev = "b91e39ece2c0d378c3b80da7f3ab50e17bb798a5", features = ["rwh_05"] }
|