mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
74 lines
2 KiB
TOML
74 lines
2 KiB
TOML
[package]
|
|
name = "gst-plugin-sodium"
|
|
version = "0.6.0"
|
|
authors = ["Jordan Petridis <jordan@centricular.com>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
|
description = "libsodium-based file encryption and decryption"
|
|
license = "MIT"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/gtk-rs" }
|
|
gst = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"], package="gstreamer" }
|
|
gst-base = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_14"], package = "gstreamer-base" }
|
|
sodiumoxide = "0.2.1"
|
|
once_cell = "1.3.0"
|
|
hex = "0.4"
|
|
smallvec = "1.0"
|
|
|
|
# example
|
|
clap = { version = "2.33", optional = true }
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "0.6"
|
|
rand = "0.8"
|
|
|
|
[dev-dependencies.gst-check]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer-check"
|
|
|
|
[dev-dependencies.gst-app]
|
|
git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs"
|
|
package="gstreamer-app"
|
|
|
|
[lib]
|
|
name = "gstsodium"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "generate-keys"
|
|
path = "examples/generate_keys.rs"
|
|
required-features = ["serde", "serde_json", "clap"]
|
|
|
|
[[example]]
|
|
name = "encrypt-example"
|
|
path = "examples/encrypt_example.rs"
|
|
required-features = ["serde", "serde_json", "clap"]
|
|
|
|
[[example]]
|
|
name = "decrypt-example"
|
|
path = "examples/decrypt_example.rs"
|
|
required-features = ["serde", "serde_json", "clap"]
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
|
|
|
[features]
|
|
# GStreamer 1.14 is required for static linking
|
|
static = ["gst/v1_14"]
|
|
|
|
[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, gstreamer-base-1.0, gobject-2.0, glib-2.0, gmodule-2.0, libsodium"
|