2019-03-20 14:36:10 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-sodium"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Jordan Petridis <jordan@centricular.com>"]
|
2019-06-03 10:53:58 +00:00
|
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
|
|
|
|
description = "libsodium-based file encryption and decryption"
|
2019-10-22 11:46:18 +00:00
|
|
|
license = "MIT"
|
2019-03-20 14:36:10 +00:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
glib = { git = "https://github.com/gtk-rs/glib" }
|
2019-09-09 07:45:06 +00:00
|
|
|
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" }
|
2019-03-20 14:36:10 +00:00
|
|
|
sodiumoxide = "0.2.1"
|
|
|
|
lazy_static = "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
|
|
|
|
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"
|
2019-07-02 14:41:27 +00:00
|
|
|
rand = "0.7"
|
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"
|
2019-03-20 14:36:10 +00:00
|
|
|
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"]
|
2019-06-03 10:53:58 +00:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
gst-plugin-version-helper = { path="../gst-plugin-version-helper" }
|