libcosmic/Cargo.toml

82 lines
1.7 KiB
TOML
Raw Normal View History

2021-11-16 09:36:54 -07:00
[package]
name = "libcosmic"
version = "0.1.0"
edition = "2021"
[lib]
name = "cosmic"
2022-09-30 12:32:17 -06:00
[features]
default = ["tiny_skia", "winit", "tokio", "a11y", "lazy"]
2022-09-30 12:32:17 -06:00
debug = ["iced/debug"]
lazy = ["iced/lazy"]
a11y = ["iced/a11y", "iced_accessibility"]
tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"]
wayland = ["iced/wayland", "iced_sctk"]
2022-12-13 16:15:36 -05:00
wgpu = ["iced/wgpu", "iced_wgpu"]
tokio = ["dep:tokio", "iced/tokio"]
2022-11-15 23:11:48 +01:00
winit = ["iced/winit", "iced_winit"]
applet = ["cosmic-panel-config", "sctk", "wayland"]
winit_tiny_skia = ["winit", "tiny_skia"]
winit_wgpu = ["winit", "wgpu"]
2021-11-16 09:36:54 -07:00
[dependencies]
2022-10-07 05:20:06 +02:00
apply = "0.3.0"
derive_setters = "0.1.5"
lazy_static = "1.4.0"
palette = "0.6.1"
tokio = { version = "1.24.2", optional = true }
2023-01-03 11:16:18 -05:00
cosmic-panel-config = {git = "https://github.com/pop-os/cosmic-panel", optional = true }
2023-04-05 10:48:29 -04:00
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", optional = true, rev = "389a4f2" }
2022-12-28 12:42:28 +01:00
slotmap = "1.0.6"
fraction = "0.13.0"
[target.'cfg(unix)'.dependencies]
freedesktop-icons = "0.2.2"
[dependencies.cosmic-theme]
git = "https://github.com/pop-os/cosmic-theme.git"
2021-12-21 14:51:57 -05:00
2022-09-30 08:55:37 -06:00
[dependencies.iced]
path = "iced"
2022-11-10 16:19:13 +01:00
default-features = false
features = ["image", "svg"]
[dependencies.iced_core]
path = "iced/core"
2022-02-24 14:03:01 -05:00
[dependencies.iced_widget]
path = "iced/widget"
[dependencies.iced_accessibility]
path = "iced/accessibility"
2022-12-19 15:42:10 -07:00
optional = true
[dependencies.iced_tiny_skia]
path = "iced/tiny_skia"
2023-01-18 19:01:16 -05:00
optional = true
2022-10-18 10:07:32 -06:00
[dependencies.iced_style]
path = "iced/style"
2022-10-07 05:20:06 +02:00
[dependencies.iced_sctk]
path = "iced/sctk"
optional = true
2022-10-07 05:20:06 +02:00
[dependencies.iced_winit]
path = "iced/winit"
2022-11-14 00:38:57 +01:00
optional = true
2022-09-30 12:26:14 -06:00
[dependencies.iced_wgpu]
path = "iced/wgpu"
2022-12-13 16:15:36 -05:00
optional = true
2022-02-24 14:03:01 -05:00
[workspace]
2022-09-30 08:55:37 -06:00
members = [
2023-03-05 10:44:04 -07:00
"cosmic-config",
2022-10-07 05:20:06 +02:00
"examples/*",
2022-09-30 08:55:37 -06:00
]
2022-12-13 08:55:15 -07:00
exclude = [
"iced",
]