Use bitflags from re-exported glib crates

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1293>
This commit is contained in:
Bilal Elmoussaoui 2023-07-06 15:06:47 +02:00
parent c2cda2c067
commit 9eacba1569
17 changed files with 0 additions and 17 deletions

View file

@ -15,7 +15,6 @@ rust-version = "1.66"
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
bitflags = "1.0"
ffi = { package = "gstreamer-allocators-sys", path = "sys" } ffi = { package = "gstreamer-allocators-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" } gst = { package = "gstreamer", path = "../gstreamer" }

View file

@ -16,7 +16,6 @@ rust-version = "1.66"
[dependencies] [dependencies]
futures-core = "0.3" futures-core = "0.3"
futures-sink = "0.3" futures-sink = "0.3"
bitflags = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-app-sys", path = "sys" } ffi = { package = "gstreamer-app-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -16,7 +16,6 @@ rust-version = "1.66"
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
cfg-if = "1.0" cfg-if = "1.0"
bitflags = "1.0"
ffi = { package = "gstreamer-audio-sys", path = "sys" } ffi = { package = "gstreamer-audio-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" } gst = { package = "gstreamer", path = "../gstreamer" }

View file

@ -16,7 +16,6 @@ rust-version = "1.66"
[dependencies] [dependencies]
cfg-if = "1.0" cfg-if = "1.0"
libc = "0.2" libc = "0.2"
bitflags = "1.0"
ffi = { package = "gstreamer-base-sys", path = "sys" } ffi = { package = "gstreamer-base-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" } gst = { package = "gstreamer", path = "../gstreamer" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
ffi = { package = "gstreamer-check-sys", path = "sys" } ffi = { package = "gstreamer-check-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer" } gst = { package = "gstreamer", path = "../gstreamer" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
once_cell = "1.0" once_cell = "1.0"
ffi = { package = "gstreamer-controller-sys", path = "sys" } ffi = { package = "gstreamer-controller-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -15,7 +15,6 @@ rust-version = "1.66"
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
bitflags = "1.0"
ffi = { package = "gstreamer-editing-services-sys", path = "sys"} ffi = { package = "gstreamer-editing-services-sys", path = "sys"}
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gio = { git = "https://github.com/gtk-rs/gtk-rs-core" } gio = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -17,7 +17,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
once_cell = "1.0" once_cell = "1.0"
ffi = { package = "gstreamer-gl-sys", path = "sys" } ffi = { package = "gstreamer-gl-sys", path = "sys" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-pbutils-sys", path = "sys" } ffi = { package = "gstreamer-pbutils-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-play-sys", path = "sys" } ffi = { package = "gstreamer-play-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-player-sys", path = "sys" } ffi = { package = "gstreamer-player-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
once_cell = "1.0" once_cell = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-rtp-sys", path = "sys" } ffi = { package = "gstreamer-rtp-sys", path = "sys" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
once_cell = "1.0" once_cell = "1.0"
ffi = { package = "gstreamer-rtsp-server-sys", path = "sys" } ffi = { package = "gstreamer-rtsp-server-sys", path = "sys" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-rtsp-sys", path = "sys" } ffi = { package = "gstreamer-rtsp-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }

View file

@ -18,7 +18,6 @@ libc = "0.2"
ffi = { package = "gstreamer-validate-sys", path = "sys" } ffi = { package = "gstreamer-validate-sys", path = "sys" }
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" } glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_22"] } gst = { package = "gstreamer", path = "../gstreamer", features = ["v1_22"] }
bitflags = "1.0"
[dev-dependencies] [dev-dependencies]
gir-format-check = "0.1" gir-format-check = "0.1"

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
libc = "0.2" libc = "0.2"
cfg-if = "1.0" cfg-if = "1.0"
ffi = { package = "gstreamer-video-sys", path = "sys" } ffi = { package = "gstreamer-video-sys", path = "sys" }

View file

@ -14,7 +14,6 @@ edition = "2021"
rust-version = "1.66" rust-version = "1.66"
[dependencies] [dependencies]
bitflags = "1.0"
cfg-if = "1.0" cfg-if = "1.0"
libc = "0.2" libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys" } ffi = { package = "gstreamer-sys", path = "sys" }