From 811e564ff95fa7f997f021d3b32b8c48a0f7a67d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 8 Feb 2024 14:39:58 +0200 Subject: [PATCH] examples: Move some more gtk-rs-core dependencies to the workspace --- Cargo.toml | 3 +++ examples/Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b417e65dc..bd9f9c8ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -120,6 +120,9 @@ gio-sys = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } glib-sys = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } gobject-sys = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } +pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master" } gstreamer-audio-sys = { path = "./gstreamer-audio/sys"} gstreamer-base-sys = { path = "./gstreamer-base/sys"} gstreamer-gl-sys = { path = "./gstreamer-gl/sys"} diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 2bcfe20a8..6e492621d 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -27,7 +27,7 @@ gst-allocators = { workspace = true, optional = true } gio = { workspace = true, optional = true } anyhow = "1.0" byte-slice-cast = "1" -cairo-rs = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", features=["use_glib"], optional = true } +cairo-rs = { workspace = true, features=["use_glib"], optional = true } derive_more = "0.99.5" futures = "0.3" glutin = { version = "0.31", optional = true, default-features = false } @@ -35,8 +35,8 @@ glutin-winit = { version = "0.4", optional = true, default-features = false } image = { version = "0.24", optional = true, default-features = false, features = ["png", "jpeg"] } memfd = { version = "0.6", optional = true } memmap2 = { version = "0.9", optional = true } -pango = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } -pangocairo = { git = "https://github.com/gtk-rs/gtk-rs-core", branch = "master", optional = true } +pango = { workspace = true, optional = true } +pangocairo = { workspace = true, optional = true } raw-window-handle = { version = "0.5", optional = true } uds = { version = "0.4", optional = true } winit = { version = "0.29", optional = true, default-features = false, features = ["rwh_05"] }