2019-03-20 14:36:10 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-sodium"
|
2023-08-10 14:18:49 +00:00
|
|
|
version = "0.12.0-alpha.1"
|
2019-03-20 14:36:10 +00:00
|
|
|
authors = ["Jordan Petridis <jordan@centricular.com>"]
|
2020-04-05 14:43:05 +00:00
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs"
|
2022-10-23 09:13:23 +00:00
|
|
|
description = "GStreamer plugin for libsodium-based file encryption and decryption"
|
2019-10-22 11:46:18 +00:00
|
|
|
license = "MIT"
|
2021-10-31 10:54:12 +00:00
|
|
|
edition = "2021"
|
2023-07-19 06:19:34 +00:00
|
|
|
rust-version = "1.70"
|
2019-03-20 14:36:10 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2021-07-20 19:49:24 +00:00
|
|
|
gst = { package="gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
|
|
gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
2019-03-20 14:36:10 +00:00
|
|
|
sodiumoxide = "0.2.1"
|
2020-11-22 14:24:55 +00:00
|
|
|
once_cell = "1.3.0"
|
2019-09-30 09:23:44 +00:00
|
|
|
hex = "0.4"
|
2019-11-20 22:43:55 +00:00
|
|
|
smallvec = "1.0"
|
2019-03-20 14:36:10 +00:00
|
|
|
|
|
|
|
# example
|
2022-09-29 06:48:53 +00:00
|
|
|
clap = { version = "4", optional = true, features = ["derive"] }
|
2019-03-20 14:36:10 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
|
|
serde_json = { version = "1.0", optional = true }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-10-14 07:20:19 +00:00
|
|
|
pretty_assertions = "1"
|
2021-01-09 10:24:28 +00:00
|
|
|
rand = "0.8"
|
2019-03-20 14:36:10 +00:00
|
|
|
|
|
|
|
[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]
|
2019-05-29 10:07:26 +00:00
|
|
|
name = "gstsodium"
|
2020-11-26 15:07:41 +00:00
|
|
|
crate-type = ["cdylib", "rlib"]
|
2019-03-20 14:36:10 +00:00
|
|
|
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"]
|
2019-06-03 10:53:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
2020-04-05 14:38:52 +00:00
|
|
|
gst-plugin-version-helper = { path="../../version-helper" }
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[features]
|
2022-04-07 09:41:54 +00:00
|
|
|
static = []
|
2021-08-11 17:51:36 +00:00
|
|
|
capi = []
|
2022-08-25 22:30:08 +00:00
|
|
|
doc = ["gst/v1_18"]
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi]
|
2023-08-09 10:54:34 +00:00
|
|
|
min_version = "0.9.21"
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.header]
|
|
|
|
enabled = false
|
|
|
|
|
|
|
|
[package.metadata.capi.library]
|
|
|
|
install_subdir = "gstreamer-1.0"
|
|
|
|
versioning = false
|
2023-08-09 10:54:34 +00:00
|
|
|
import_library = false
|
2020-11-26 15:07:41 +00:00
|
|
|
|
|
|
|
[package.metadata.capi.pkg_config]
|
|
|
|
requires_private = "gstreamer-1.0, gstreamer-base-1.0, gobject-2.0, glib-2.0, gmodule-2.0, libsodium"
|