Files
servo/components/media/backends/gstreamer/Cargo.toml
Narfinger c2b88ff7f5 media: Switch to workspace dependencies and minor cleanup (#44428)
This PR makes minor cleanup in the media crates:
- Switch dependencies to workspace dependencies if they are already
included in the main Cargo.toml
- Switch from crate serde_derive to serde with feature flag derive.
- Switch from the separate crate for OnceCell to the std provided
LazyLock.
- Update num_complex

Testing: The only functional changes are either slight version bumps,
the replacement to LazyLock which is conservative and the num_complex
update which also shouldn't have any behavior changes.

---------

Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>
2026-04-22 14:56:59 +00:00

52 lines
1.6 KiB
TOML

[package]
name = "servo-media-gstreamer"
version.workspace = true
authors.workspace = true
license.workspace = true
edition.workspace = true
publish.workspace = true
rust-version.workspace = true
repository.workspace = true
description.workspace = true
[lib]
name = "servo_media_gstreamer"
path = "lib.rs"
[features]
glx = ["servo-media-gstreamer-render-unix/gl-x11"]
wayland = ["servo-media-gstreamer-render-unix/gl-wayland"]
[dependencies]
byte-slice-cast = { workspace = true }
glib = { workspace = true }
glib-sys = { workspace = true }
gstreamer = { workspace = true }
gstreamer-app = { workspace = true }
gstreamer-audio = { workspace = true }
gstreamer-video = { workspace = true }
gstreamer-base = { workspace = true }
gstreamer-play = { workspace = true }
gstreamer-webrtc = { workspace = true }
gstreamer-sdp = { workspace = true }
gstreamer-sys = { workspace = true }
ipc-channel = { workspace = true }
log = { workspace = true }
mime = { workspace = true }
servo-media = { workspace = true }
servo-media-audio = { workspace = true }
servo-media-gstreamer-render = { workspace = true }
servo-media-player = { workspace = true }
servo-media-streams = { workspace = true }
servo-media-traits = { workspace = true }
servo-media-webrtc = { workspace = true }
url = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
servo-media-gstreamer-render-unix = { workspace = true, features = [
"gl-egl",
] }
[target.'cfg(target_os = "android")'.dependencies]
servo-media-gstreamer-render-android = { workspace = true }