mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-06 01:29:37 +00:00
7230aee069
Fewer macros, faster compile-time and the Lazy type will likely end up in the standard library in a similar form to this.
55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "gstreamer"
|
|
version = "0.16.0"
|
|
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
|
|
categories = ["api-bindings", "multimedia"]
|
|
description = "Rust bindings for GStreamer"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
license = "MIT/Apache-2.0"
|
|
readme = "README.md"
|
|
homepage = "https://gstreamer.freedesktop.org"
|
|
documentation = "https://slomo.pages.freedesktop.org/rustdocs/gstreamer/gstreamer"
|
|
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
|
|
build = "build.rs"
|
|
|
|
[dependencies]
|
|
bitflags = "1.0"
|
|
cfg-if = "0.1"
|
|
libc = "0.2"
|
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
|
gstreamer-sys = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys", features = ["v1_8"] }
|
|
glib = { git = "https://github.com/gtk-rs/glib" }
|
|
num-rational = { version = "0.2", default-features = false, features = [] }
|
|
once_cell = "1.0"
|
|
futures-core = "0.3"
|
|
futures-util = "0.3"
|
|
futures-channel = "0.3"
|
|
muldiv = "0.2"
|
|
serde = { version = "1.0", optional = true }
|
|
serde_bytes = { version = "0.11", optional = true }
|
|
serde_derive = { version = "1.0", optional = true }
|
|
paste = { version = "0.1" }
|
|
pretty-hex = "0.1"
|
|
thiserror = "1"
|
|
|
|
[build-dependencies]
|
|
rustdoc-stripper = { version = "0.1", optional = true }
|
|
|
|
[dev-dependencies]
|
|
ron = "0.5"
|
|
serde_json = "1.0"
|
|
|
|
[features]
|
|
default = []
|
|
v1_10 = ["gstreamer-sys/v1_10"]
|
|
v1_12 = ["gstreamer-sys/v1_12", "v1_10"]
|
|
v1_14 = ["gstreamer-sys/v1_14", "v1_12"]
|
|
v1_16 = ["gstreamer-sys/v1_16", "v1_14"]
|
|
embed-lgpl-docs = ["rustdoc-stripper"]
|
|
purge-lgpl-docs = ["rustdoc-stripper"]
|
|
dox = ["v1_16", "gstreamer-sys/dox", "glib/dox", "ser_de"]
|
|
ser_de = ["num-rational/serde", "serde", "serde_bytes", "serde_derive"]
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["dox", "embed-lgpl-docs"]
|