fix(cargo): enforce sctk version on dependencies

This commit is contained in:
Michael Aaron Murphy 2024-04-10 19:31:10 +02:00
parent 451f8bf5b7
commit 247d7c4678
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 17 additions and 67 deletions

79
Cargo.lock generated
View file

@ -779,20 +779,6 @@ dependencies = [
"displaydoc", "displaydoc",
] ]
[[package]]
name = "calloop"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fba7adb4dd5aa98e5553510223000e7148f621165ec5f9acd7113f6ca4995298"
dependencies = [
"bitflags 2.5.0",
"log",
"polling 3.6.0",
"rustix 0.38.32",
"slab",
"thiserror",
]
[[package]] [[package]]
name = "calloop" name = "calloop"
version = "0.13.0" version = "0.13.0"
@ -807,25 +793,13 @@ dependencies = [
"thiserror", "thiserror",
] ]
[[package]]
name = "calloop-wayland-source"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f0ea9b9476c7fad82841a8dbb380e2eae480c21910feba80725b46931ed8f02"
dependencies = [
"calloop 0.12.4",
"rustix 0.38.32",
"wayland-backend",
"wayland-client",
]
[[package]] [[package]]
name = "calloop-wayland-source" name = "calloop-wayland-source"
version = "0.3.0" version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20" checksum = "95a66a987056935f7efce4ab5668920b5d0dac4a7c99991a67395f13702ddd20"
dependencies = [ dependencies = [
"calloop 0.13.0", "calloop",
"rustix 0.38.32", "rustix 0.38.32",
"wayland-backend", "wayland-backend",
"wayland-client", "wayland-client",
@ -1216,7 +1190,7 @@ source = "git+https://github.com/pop-os/cosmic-protocols?rev=e4e6f8c#e4e6f8ca4d7
dependencies = [ dependencies = [
"cosmic-protocols", "cosmic-protocols",
"libc", "libc",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"wayland-client", "wayland-client",
] ]
@ -1236,7 +1210,7 @@ version = "0.1.0"
source = "git+https://github.com/pop-os/libcosmic#62d527b6e539ae4b6e60607971e5f260eb674f90" source = "git+https://github.com/pop-os/libcosmic#62d527b6e539ae4b6e60607971e5f260eb674f90"
dependencies = [ dependencies = [
"atomicwrites", "atomicwrites",
"calloop 0.13.0", "calloop",
"cosmic-config-derive", "cosmic-config-derive",
"cosmic-settings-daemon", "cosmic-settings-daemon",
"dirs 5.0.1", "dirs 5.0.1",
@ -1269,7 +1243,7 @@ dependencies = [
"cosmic-config", "cosmic-config",
"ron", "ron",
"serde", "serde",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=2e9bf9f)", "smithay-client-toolkit",
"tracing", "tracing",
"wayland-protocols-wlr", "wayland-protocols-wlr",
"xdg-shell-wrapper-config", "xdg-shell-wrapper-config",
@ -1730,7 +1704,7 @@ dependencies = [
"bitflags 2.5.0", "bitflags 2.5.0",
"mime", "mime",
"raw-window-handle 0.6.0", "raw-window-handle 0.6.0",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"smithay-clipboard", "smithay-clipboard",
] ]
@ -2827,7 +2801,7 @@ dependencies = [
"palette", "palette",
"raw-window-handle 0.6.0", "raw-window-handle 0.6.0",
"serde", "serde",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"smol_str", "smol_str",
"thiserror", "thiserror",
"web-time", "web-time",
@ -2893,7 +2867,7 @@ dependencies = [
"iced_accessibility", "iced_accessibility",
"iced_core", "iced_core",
"iced_futures", "iced_futures",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"thiserror", "thiserror",
"window_clipboard", "window_clipboard",
] ]
@ -2913,7 +2887,7 @@ dependencies = [
"itertools", "itertools",
"lazy_static", "lazy_static",
"raw-window-handle 0.6.0", "raw-window-handle 0.6.0",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"thiserror", "thiserror",
"tracing", "tracing",
"wayland-backend", "wayland-backend",
@ -2981,7 +2955,7 @@ dependencies = [
"iced_style", "iced_style",
"num-traits", "num-traits",
"ouroboros", "ouroboros",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"thiserror", "thiserror",
"unicode-segmentation", "unicode-segmentation",
"window_clipboard", "window_clipboard",
@ -5106,39 +5080,12 @@ checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67"
[[package]] [[package]]
name = "smithay-client-toolkit" name = "smithay-client-toolkit"
version = "0.18.0" version = "0.18.0"
source = "git+https://github.com/smithay/client-toolkit?rev=2e9bf9f#2e9bf9f31698851ca373e5f1e7ba3e6e804e4db1" source = "git+https://github.com/smithay/client-toolkit//?rev=3bed072#3bed072b966022f5f929d12f3aff089b1ace980b"
dependencies = [ dependencies = [
"bitflags 2.5.0", "bitflags 2.5.0",
"bytemuck", "bytemuck",
"calloop 0.12.4", "calloop",
"calloop-wayland-source 0.2.0", "calloop-wayland-source",
"cursor-icon",
"libc",
"log",
"memmap2 0.9.4",
"pkg-config",
"rustix 0.38.32",
"thiserror",
"wayland-backend",
"wayland-client",
"wayland-csd-frame",
"wayland-cursor",
"wayland-protocols",
"wayland-protocols-wlr",
"wayland-scanner",
"xkbcommon",
"xkeysym",
]
[[package]]
name = "smithay-client-toolkit"
version = "0.18.0"
source = "git+https://github.com/smithay/client-toolkit?rev=3bed072#3bed072b966022f5f929d12f3aff089b1ace980b"
dependencies = [
"bitflags 2.5.0",
"bytemuck",
"calloop 0.13.0",
"calloop-wayland-source 0.3.0",
"cursor-icon", "cursor-icon",
"libc", "libc",
"log", "log",
@ -5164,7 +5111,7 @@ source = "git+https://github.com/pop-os/smithay-clipboard?tag=pop-dnd-3#2f2430be
dependencies = [ dependencies = [
"libc", "libc",
"raw-window-handle 0.6.0", "raw-window-handle 0.6.0",
"smithay-client-toolkit 0.18.0 (git+https://github.com/smithay/client-toolkit?rev=3bed072)", "smithay-client-toolkit",
"wayland-backend", "wayland-backend",
] ]

View file

@ -29,11 +29,14 @@ git = "https://github.com/pop-os/cosmic-randr"
[workspace.dependencies.sctk] [workspace.dependencies.sctk]
git = "https://github.com/smithay/client-toolkit/" git = "https://github.com/smithay/client-toolkit/"
package = "smithay-client-toolkit" package = "smithay-client-toolkit"
rev = "2e9bf9f" rev = "3bed072"
[profile.release] [profile.release]
opt-level = 3 opt-level = 3
[patch.'https://github.com/smithay/client-toolkit/']
smithay-client-toolkit = { git = "https://github.com/smithay/client-toolkit//", rev = "3bed072" }
# For development and testing purposes # For development and testing purposes
# [patch.'https://github.com/pop-os/libcosmic'] # [patch.'https://github.com/pop-os/libcosmic']
# libcosmic = { git = "https://github.com/pop-os/libcosmic//", branch = "theme-export-gtk" } # libcosmic = { git = "https://github.com/pop-os/libcosmic//", branch = "theme-export-gtk" }