2021-11-16 09:36:54 -07:00
|
|
|
[package]
|
|
|
|
|
name = "libcosmic"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2021"
|
|
|
|
|
|
2022-09-30 09:35:55 -06:00
|
|
|
[lib]
|
|
|
|
|
name = "cosmic"
|
|
|
|
|
|
2022-09-30 12:32:17 -06:00
|
|
|
[features]
|
2023-01-06 11:45:59 -05:00
|
|
|
default = ["softbuffer", "winit", "tokio"]
|
2022-09-30 12:32:17 -06:00
|
|
|
debug = ["iced/debug"]
|
2023-01-06 11:45:59 -05:00
|
|
|
softbuffer = ["iced/softbuffer", "iced_softbuffer"]
|
2023-01-18 15:13:03 -08:00
|
|
|
wayland = ["iced/wayland", "iced/glow", "iced_sctk"]
|
2022-12-13 16:15:36 -05:00
|
|
|
wgpu = ["iced/wgpu", "iced_wgpu"]
|
2023-01-18 15:09:55 -08:00
|
|
|
tokio = ["dep:tokio", "iced/tokio"]
|
2022-11-15 23:11:48 +01:00
|
|
|
winit = ["iced/winit", "iced_winit"]
|
2023-01-03 21:33:11 +01:00
|
|
|
applet = ["cosmic-panel-config", "sctk", "wayland"]
|
2023-01-06 11:45:59 -05:00
|
|
|
winit_softbuffer = ["winit", "softbuffer"]
|
2023-01-03 21:33:11 +01:00
|
|
|
winit_wgpu = ["winit", "wgpu"]
|
2021-11-16 09:36:54 -07:00
|
|
|
[dependencies]
|
2022-12-27 10:46:59 -05:00
|
|
|
freedesktop-icons = "0.2.2"
|
2022-10-07 05:20:06 +02:00
|
|
|
apply = "0.3.0"
|
2022-10-11 15:27:39 +02:00
|
|
|
derive_setters = "0.1.5"
|
2022-10-28 21:59:41 -07:00
|
|
|
lazy_static = "1.4.0"
|
|
|
|
|
palette = "0.6.1"
|
2023-01-18 15:09:55 -08:00
|
|
|
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 }
|
|
|
|
|
sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/client-toolkit", optional = true, rev = "3776d4a" }
|
2022-12-28 12:42:28 +01:00
|
|
|
slotmap = "1.0.6"
|
2022-10-28 21:59:41 -07:00
|
|
|
|
|
|
|
|
[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]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced"
|
2022-11-10 16:19:13 +01:00
|
|
|
default-features = false
|
2023-01-03 22:48:53 +01:00
|
|
|
features = ["image", "svg"]
|
2022-10-28 21:59:41 -07:00
|
|
|
|
|
|
|
|
[dependencies.iced_core]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/core"
|
2022-02-24 14:03:01 -05:00
|
|
|
|
2022-10-18 10:07:32 -06:00
|
|
|
[dependencies.iced_lazy]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/lazy"
|
2022-10-08 04:28:29 -07:00
|
|
|
|
2022-09-30 10:20:03 -06:00
|
|
|
[dependencies.iced_native]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/native"
|
2022-09-30 10:20:03 -06:00
|
|
|
|
2023-01-06 11:45:59 -05:00
|
|
|
[dependencies.iced_softbuffer]
|
|
|
|
|
path = "iced/softbuffer"
|
2022-12-19 15:42:10 -07:00
|
|
|
optional = true
|
|
|
|
|
|
2022-10-18 10:07:32 -06:00
|
|
|
[dependencies.iced_style]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/style"
|
2022-10-07 05:20:06 +02:00
|
|
|
|
2023-01-18 15:13:03 -08:00
|
|
|
[dependencies.iced_sctk]
|
|
|
|
|
path = "iced/sctk"
|
|
|
|
|
optional = true
|
|
|
|
|
|
2022-10-07 05:20:06 +02:00
|
|
|
[dependencies.iced_winit]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/winit"
|
2022-11-14 00:38:57 +01:00
|
|
|
optional = true
|
2022-09-30 12:26:14 -06:00
|
|
|
|
2022-10-28 21:59:41 -07:00
|
|
|
[dependencies.iced_wgpu]
|
2022-12-13 08:55:15 -07:00
|
|
|
path = "iced/wgpu"
|
2022-12-13 16:15:36 -05:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
|
|
[dependencies.iced_glow]
|
|
|
|
|
path = "iced/glow"
|
|
|
|
|
optional = true
|
2022-10-28 21:59:41 -07:00
|
|
|
|
2022-02-24 14:03:01 -05:00
|
|
|
[workspace]
|
2022-09-30 08:55:37 -06:00
|
|
|
members = [
|
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",
|
|
|
|
|
]
|