gstreamer-rs/gstreamer-player/Cargo.toml
Sebastian Dröge fc21a2d9a3 Add git locations for gstreamer-sys in addition to the version
Otherwise we'd always use the version from crates.io.
2020-08-11 12:43:57 +03:00

39 lines
1.7 KiB
TOML

[package]
name = "gstreamer-player"
version = "0.16.2"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
categories = ["api-bindings", "multimedia"]
description = "Rust bindings for GStreamer Player 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_player/"
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
build = "build.rs"
[dependencies]
bitflags = "1.0"
libc = "0.2"
glib-sys = "0.10"
gobject-sys = "0.10"
gstreamer-sys = { version = "0.9", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys.git", rev = "0.9", features = ["v1_12"] }
gstreamer-player-sys = { version = "0.9", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys.git", rev = "0.9" }
glib = "0.10"
gstreamer = { version = "0.16", path = "../gstreamer", features = ["v1_12"] }
gstreamer-video = { version = "0.16", path = "../gstreamer-video", features = ["v1_12"] }
[build-dependencies]
gstreamer-rs-lgpl-docs = { version = "0.16", path = "../docs", optional = true }
[features]
default = []
v1_14 = ["gstreamer/v1_14", "gstreamer-video/v1_14", "gstreamer-player-sys/v1_14"]
v1_16 = ["gstreamer/v1_16", "gstreamer-video/v1_16", "gstreamer-player-sys/v1_16", "v1_14"]
v1_18 = ["gstreamer/v1_18", "gstreamer-video/v1_18", "gstreamer-player-sys/v1_18", "v1_16"]
embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
dox = ["v1_18", "gstreamer-player-sys/dox", "glib/dox", "gstreamer/dox"]
[package.metadata.docs.rs]
features = ["dox", "embed-lgpl-docs"]