forked from mirrors/gstreamer-rs
782d84bede
The `links` annotation in `Cargo.toml` is intended to ensure that in the crate graph there's at most one crate that's an implementation of some sort concept. This can make sense in some scenarios, most prominent of which is when the crate defines `#[no_mangle]` symbols (e.g. by compiling a vendored C library.) In that situation linking a binary that depends on two versions of the library cannot work because of colliding symbol names. There does not appear to be a similar reason to impose such a restriction on the users of `gstreamer-sys` and similar, however. All of these crates link to a system library, they do not define any `#[no_mangle]` symbols nor they vendor and build C libraries as part of their build process. All they do is linking to a system library. Most likely all the different versions of the bindings will link to the exact same library too. I haven't seen any global resources that these bindings use to ensure soundness of the library, either.
78 lines
1.8 KiB
TOML
78 lines
1.8 KiB
TOML
[build-dependencies]
|
|
system-deps = "3"
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
|
|
[dependencies.gio-sys]
|
|
git = "https://github.com/gtk-rs/gtk-rs-core"
|
|
|
|
[dependencies.glib-sys]
|
|
git = "https://github.com/gtk-rs/gtk-rs-core"
|
|
|
|
[dependencies.gobject-sys]
|
|
git = "https://github.com/gtk-rs/gtk-rs-core"
|
|
|
|
[dependencies.gstreamer-sdp-sys]
|
|
path = "../../gstreamer-sdp/sys"
|
|
|
|
[dependencies.gstreamer-sys]
|
|
path = "../../gstreamer/sys"
|
|
|
|
[dev-dependencies]
|
|
shell-words = "1.0.0"
|
|
tempfile = "3"
|
|
|
|
[features]
|
|
dox = []
|
|
v1_2 = []
|
|
v1_2_1 = ["v1_2"]
|
|
v1_4 = ["v1_2"]
|
|
v1_6 = ["v1_4"]
|
|
v1_8 = ["v1_6"]
|
|
v1_10 = ["v1_8"]
|
|
v1_12 = ["v1_10"]
|
|
v1_14 = ["v1_12"]
|
|
v1_16 = ["v1_14"]
|
|
v1_18 = ["v1_16"]
|
|
v1_20 = ["v1_18"]
|
|
|
|
[lib]
|
|
name = "gstreamer_rtsp_sys"
|
|
|
|
[package]
|
|
authors = ["Mathieu Duponchelle <mathieu@centricular.com>", "Sebastian Dröge <sebastian@centricular.com>"]
|
|
build = "build.rs"
|
|
description = "FFI bindings to libgstrtsp-1.0"
|
|
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer_rtsp_sys/"
|
|
homepage = "https://gstreamer.freedesktop.org"
|
|
keywords = ["ffi", "gstreamer", "gnome", "multimedia"]
|
|
license = "MIT"
|
|
name = "gstreamer-rtsp-sys"
|
|
readme = "README.md"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
version = "0.18.0"
|
|
edition = "2018"
|
|
[package.metadata.docs.rs]
|
|
features = ["dox"]
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0]
|
|
name = "gstreamer-rtsp-1.0"
|
|
version = "1.8"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_10]
|
|
version = "1.10"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_12]
|
|
version = "1.12"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_14]
|
|
version = "1.14"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_16]
|
|
version = "1.16"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_18]
|
|
version = "1.18"
|
|
|
|
[package.metadata.system-deps.gstreamer_rtsp_1_0.v1_20]
|
|
version = "1.19.1"
|