gstreamer-rs/gstreamer-rtp/Cargo.toml
Bilal Elmoussaoui 4ebec84f5e Adapt to no longer renamed ffi crates
Allows us to set all the crates in the main workspace file, so changing
their versions or branch is much simpler and reduce the amount of noise
in the diff

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1450>
2024-06-02 11:20:55 +02:00

40 lines
1.3 KiB
TOML

[package]
name = "gstreamer-rtp"
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
description = "Rust bindings for GStreamer Rtp library"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtp/"
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
version.workspace = true
categories.workspace = true
repository.workspace = true
homepage.workspace = true
edition.workspace = true
rust-version.workspace = true
[dependencies]
libc = "0.2"
gstreamer-rtp-sys.workspace = true
glib.workspace = true
gst.workspace = true
serde = { version = "1.0", optional = true }
[dev-dependencies]
gir-format-check = "0.1"
serde_json = "1.0"
[features]
default = []
v1_16 = ["gst/v1_16", "gstreamer-rtp-sys/v1_16"]
v1_18 = ["gst/v1_18", "gstreamer-rtp-sys/v1_18", "v1_16"]
v1_20 = ["gst/v1_20", "gstreamer-rtp-sys/v1_20", "v1_18"]
v1_22 = ["gst/v1_22", "gstreamer-rtp-sys/v1_22", "v1_20"]
v1_24 = ["gst/v1_24", "gstreamer-rtp-sys/v1_24", "v1_22"]
v1_26 = ["gst/v1_26", "gstreamer-rtp-sys/v1_26", "v1_24"]
serde = ["dep:serde", "gst/serde"]
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]