mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-05 09:10:22 +00:00
3c610e12e5
SDPMessage, FlowCombiner and ParseContext have specific functions available to perform copying, freeing and (un)ref'ing. Calling them directly on versions where they are supported prevents us from going through GType machinery and locks that end up the same functions in the end.
42 lines
1.4 KiB
TOML
42 lines
1.4 KiB
TOML
[package]
|
|
name = "gstreamer-base"
|
|
version = "0.17.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
categories = ["api-bindings", "multimedia"]
|
|
description = "Rust bindings for GStreamer Base library"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
license = "MIT/Apache-2.0"
|
|
readme = "README.md"
|
|
homepage = "https://gstreamer.freedesktop.org"
|
|
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer_base/"
|
|
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
|
build = "build.rs"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
cfg-if = "1.0"
|
|
libc = "0.2"
|
|
bitflags = "1.0"
|
|
ffi = { package = "gstreamer-base-sys", path = "sys", features = ["v1_8"] }
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gst = { package = "gstreamer", path = "../gstreamer" }
|
|
|
|
[build-dependencies]
|
|
gstreamer-rs-lgpl-docs = { path = "../docs", optional = true }
|
|
|
|
[features]
|
|
default = []
|
|
v1_10 = ["gst/v1_10", "ffi/v1_10"]
|
|
v1_12 = ["gst/v1_12", "ffi/v1_12", "v1_10"]
|
|
v1_12_1 = ["gst/v1_12_1", "ffi/v1_12_1", "v1_12"]
|
|
v1_14 = ["gst/v1_14", "ffi/v1_14", "v1_12_1"]
|
|
v1_14_1 = ["gst/v1_14", "ffi/v1_14_1", "v1_14"]
|
|
v1_16 = ["gst/v1_16", "ffi/v1_16", "v1_14_1"]
|
|
v1_18 = ["gst/v1_18", "ffi/v1_18", "v1_16"]
|
|
v1_20 = ["gst/v1_20", "ffi/v1_20", "v1_18"]
|
|
embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
|
|
purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
|
|
dox = ["v1_20", "ffi/dox", "glib/dox", "gst/dox"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["dox", "embed-lgpl-docs"]
|