mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-17 05:15:14 +00:00
There is no way to dynamically ask Cargo to build static or dynamic lib so we have to build both and pick the one we care when doing the meson processing. Fix #88
26 lines
905 B
TOML
26 lines
905 B
TOML
[package]
|
|
name = "gst-plugin-rspng"
|
|
version = "0.1.0"
|
|
authors = ["Natanael Mojica <neithanmo@gmail.com>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2018"
|
|
description = "An PNG encoder/decoder written in pure Rust"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gst_video = { package = "gstreamer-video", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gst_check = { package = "gstreamer-check", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
png = "0.16.3"
|
|
once_cell = "1"
|
|
parking_lot = "0.11"
|
|
atomic_refcell = "0.1"
|
|
|
|
[lib]
|
|
name = "gstrspng"
|
|
crate-type = ["cdylib", "rlib", "staticlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|