libcosmic updates
This commit is contained in:
parent
9c62f19e4b
commit
0491c4baaa
91 changed files with 3550 additions and 2300 deletions
32
Cargo.toml
32
Cargo.toml
|
|
@ -8,15 +8,22 @@ rust-version = "1.80"
|
|||
name = "cosmic"
|
||||
|
||||
[features]
|
||||
default = ["clipboard"]
|
||||
# Accessibility support
|
||||
a11y = ["iced/a11y", "iced_accessibility"]
|
||||
# Builds support for animated images
|
||||
animated-image = ["image", "dep:async-fs", "tokio?/io-util", "tokio?/fs"]
|
||||
# XXX Use "a11y"; which is causing a panic currently
|
||||
applet = ["wayland", "tokio", "cosmic-panel-config", "ron"]
|
||||
# XXX autosize should not be used on winit windows unless dialogs
|
||||
autosize = []
|
||||
applet = [
|
||||
"a11y",
|
||||
"autosize",
|
||||
"wayland",
|
||||
"tokio",
|
||||
"cosmic-panel-config",
|
||||
"ron",
|
||||
"multi-window",
|
||||
]
|
||||
applet-token = []
|
||||
clipboard = ["iced_sctk?/clipboard"]
|
||||
# Use the cosmic-settings-daemon for config handling
|
||||
dbus-config = ["cosmic-config/dbus", "dep:zbus", "cosmic-settings-daemon"]
|
||||
# Debug features
|
||||
|
|
@ -61,7 +68,7 @@ wayland = [
|
|||
"ashpd?/wayland",
|
||||
"iced_runtime/wayland",
|
||||
"iced/wayland",
|
||||
"iced_sctk",
|
||||
"iced_winit/wayland",
|
||||
"cctk",
|
||||
]
|
||||
# multi-window support
|
||||
|
|
@ -120,7 +127,7 @@ path = "cosmic-theme"
|
|||
[dependencies.iced]
|
||||
path = "./iced"
|
||||
default-features = false
|
||||
features = ["advanced", "image", "lazy", "svg", "web-colors"]
|
||||
features = ["advanced", "image", "lazy", "svg", "web-colors", "tiny-skia"]
|
||||
|
||||
[dependencies.iced_runtime]
|
||||
path = "./iced/runtime"
|
||||
|
|
@ -146,13 +153,6 @@ optional = true
|
|||
[dependencies.iced_tiny_skia]
|
||||
path = "./iced/tiny_skia"
|
||||
|
||||
[dependencies.iced_style]
|
||||
path = "./iced/style"
|
||||
|
||||
[dependencies.iced_sctk]
|
||||
path = "./iced/sctk"
|
||||
optional = true
|
||||
|
||||
[dependencies.iced_winit]
|
||||
path = "./iced/winit"
|
||||
optional = true
|
||||
|
|
@ -189,3 +189,9 @@ dirs = "5.0.1"
|
|||
|
||||
[patch."https://github.com/pop-os/libcosmic"]
|
||||
libcosmic = { path = "./" }
|
||||
|
||||
# FIXME update winit deps where necessary to use this
|
||||
# [patch.crates-io]
|
||||
[patch."https://github.com/pop-os/winit.git"]
|
||||
# winit = { git = "https://github.com/rust-windowing/winit.git", rev = "241b7a80bba96c91fa3901729cd5dec66abb9be4" }
|
||||
# winit = { path = "../../winit" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue