mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-06 01:29:37 +00:00
069c6a2c01
When I introduced the 'ser_de' feature, I couldn't find a way to name it 'serde' while also make it pull the optional 'serde' crate together with the other related dependencies. With rustc >= 1.60 we can use 'dep:serde' to refer to the 'serde' dependency as part of the 'serde' feature.
39 lines
1.4 KiB
TOML
39 lines
1.4 KiB
TOML
[package]
|
|
name = "gstreamer-rtsp"
|
|
version = "0.19.0"
|
|
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
|
|
categories = ["api-bindings", "multimedia"]
|
|
description = "Rust bindings for GStreamer Rtsp library"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
license = "MIT OR Apache-2.0"
|
|
readme = "README.md"
|
|
homepage = "https://gstreamer.freedesktop.org"
|
|
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtsp/"
|
|
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
|
edition = "2021"
|
|
rust-version = "1.63"
|
|
|
|
[dependencies]
|
|
bitflags = "1.0"
|
|
libc = "0.2"
|
|
ffi = { package = "gstreamer-rtsp-sys", path = "sys" }
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs-core" }
|
|
gst = { package = "gstreamer", path = "../gstreamer" }
|
|
gst-sdp = { package = "gstreamer-sdp", path = "../gstreamer-sdp" }
|
|
serde = { version = "1.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
gir-format-check = "0.1"
|
|
serde_json = "1.0"
|
|
|
|
[features]
|
|
default = []
|
|
v1_16 = ["gst/v1_16", "gst-sdp/v1_16", "ffi/v1_16"]
|
|
v1_18 = ["gst/v1_18", "gst-sdp/v1_18", "ffi/v1_18", "v1_16"]
|
|
v1_20 = ["gst/v1_20", "gst-sdp/v1_20", "ffi/v1_20", "v1_18"]
|
|
v1_22 = ["gst/v1_22", "gst-sdp/v1_22", "ffi/v1_22", "v1_20"]
|
|
dox = ["v1_22", "ffi/dox", "glib/dox", "gst/dox", "gst-sdp/dox", "serde"]
|
|
serde = ["dep:serde", "gst/serde"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["dox"]
|