gstreamer-rs/gstreamer/Cargo.toml

56 lines
1.7 KiB
TOML
Raw Normal View History

[package]
name = "gstreamer"
authors = ["Sebastian Dröge <sebastian@centricular.com>"]
description = "Rust bindings for GStreamer"
2022-03-14 08:21:49 +00:00
license = "MIT OR Apache-2.0"
readme = "README.md"
keywords = ["gstreamer", "multimedia", "audio", "video", "gnome"]
documentation = "https://gstreamer.pages.freedesktop.org/gstreamer-rs/stable/latest/docs/gstreamer/"
version.workspace = true
categories.workspace = true
repository.workspace = true
homepage.workspace = true
edition.workspace = true
rust-version.workspace = true
[dependencies]
2020-10-09 06:19:42 +00:00
cfg-if = "1.0"
libc = "0.2"
ffi = { package = "gstreamer-sys", path = "sys" }
glib.workspace = true
num-integer = { version = "0.1", default-features = false, features = [] }
2021-03-09 09:17:53 +00:00
num-rational = { version = "0.4", default-features = false, features = [] }
futures-core = "0.3"
futures-channel = "0.3"
futures-util = { version = "0.3", default-features = false }
2020-10-13 09:35:31 +00:00
muldiv = "1"
opt-ops = { package = "option-operations", version = "0.5" }
serde = { version = "1.0", optional = true, features = ["derive"] }
2019-04-24 06:45:56 +00:00
serde_bytes = { version = "0.11", optional = true }
paste = "1.0"
thiserror = "1"
smallvec = { version = "1.0", features = ["write"] }
itertools = "0.12"
pin-project-lite = "0.2"
once_cell = "1"
2017-07-07 11:38:00 +00:00
2018-06-20 19:38:49 +00:00
[dev-dependencies]
2022-08-16 10:09:49 +00:00
ron = "0.8"
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"
gir-format-check = "0.1"
2018-06-20 19:38:49 +00:00
2017-07-07 11:38:00 +00:00
[features]
default = []
v1_16 = ["ffi/v1_16"]
v1_18 = ["ffi/v1_18", "v1_16"]
v1_20 = ["ffi/v1_20", "v1_18"]
v1_22 = ["ffi/v1_22", "v1_20"]
v1_24 = ["ffi/v1_24", "v1_22"]
serde = ["num-rational/serde", "dep:serde", "serde_bytes"]
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]