gstreamer-rs/gstreamer/Cargo.toml

57 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "gstreamer"
2020-07-06 12:22:55 +00:00
version = "0.17.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"
2017-08-01 16:27:56 +00:00
license = "MIT/Apache-2.0"
readme = "README.md"
homepage = "https://gstreamer.freedesktop.org"
2020-04-28 09:17:24 +00:00
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer/"
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
2017-08-01 12:20:26 +00:00
build = "build.rs"
edition = "2018"
[dependencies]
2017-10-01 13:52:15 +00:00
bitflags = "1.0"
2020-10-09 06:19:42 +00:00
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys", features = ["v1_8"] }
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
num-rational = { version = "0.3", default-features = false, features = [] }
once_cell = "1.0"
futures-core = "0.3"
futures-util = "0.3"
futures-channel = "0.3"
2020-10-13 09:35:31 +00:00
muldiv = "1"
2018-06-20 19:38:49 +00:00
serde = { version = "1.0", optional = true }
2019-04-24 06:45:56 +00:00
serde_bytes = { version = "0.11", optional = true }
2018-06-20 19:38:49 +00:00
serde_derive = { version = "1.0", optional = true }
paste = "1.0"
pretty-hex = "0.2"
thiserror = "1"
2017-07-07 11:38:00 +00:00
[build-dependencies]
gstreamer-rs-lgpl-docs = { path = "../docs", optional = true }
2017-08-01 12:20:26 +00:00
2018-06-20 19:38:49 +00:00
[dev-dependencies]
ron = "0.6"
2018-06-20 19:38:49 +00:00
serde_json = "1.0"
2020-01-30 12:30:17 +00:00
futures-executor = "0.3.1"
2018-06-20 19:38:49 +00:00
2017-07-07 11:38:00 +00:00
[features]
default = []
v1_10 = ["ffi/v1_10"]
v1_12 = ["ffi/v1_12", "v1_10"]
v1_14 = ["ffi/v1_14", "v1_12"]
v1_16 = ["ffi/v1_16", "v1_14"]
v1_18 = ["ffi/v1_18", "v1_16"]
embed-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
purge-lgpl-docs = ["gstreamer-rs-lgpl-docs"]
dox = ["v1_18", "ffi/dox", "glib/dox", "ser_de"]
2018-07-05 18:42:28 +00:00
ser_de = ["num-rational/serde", "serde", "serde_bytes", "serde_derive"]
[package.metadata.docs.rs]
features = ["dox", "embed-lgpl-docs"]