mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 19:41:00 +00:00
848b296390
This fixes the build with cargo-c 0.9.2.
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "gst-plugin-json"
|
|
version = "0.8.0"
|
|
authors = ["Mathieu Duponchelle <mathieu@centricular.com>"]
|
|
license = "LGPL-2.1-or-later"
|
|
edition = "2018"
|
|
description = "Rust JSON Plugin"
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
|
|
[dependencies]
|
|
once_cell = "1.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = { version = "1.0", features = ["raw_value"] }
|
|
|
|
[dependencies.gst]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer"
|
|
|
|
[lib]
|
|
name = "gstrsjson"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
|
|
[dev-dependencies.gst-check]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer-check"
|
|
|
|
[features]
|
|
default = ["gst/ser_de"]
|
|
# GStreamer 1.14 is required for static linking
|
|
static = ["default", "gst/v1_14"]
|
|
capi = []
|
|
|
|
[package.metadata.capi]
|
|
min_version = "0.7.0"
|
|
|
|
[package.metadata.capi.header]
|
|
enabled = false
|
|
|
|
[package.metadata.capi.library]
|
|
install_subdir = "gstreamer-1.0"
|
|
versioning = false
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
requires_private = "gstreamer-1.0, gobject-2.0, glib-2.0, gmodule-2.0"
|