# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "gst-plugin-sodium" version = "0.13.0" authors = ["Jordan Petridis "] description = "GStreamer plugin for libsodium-based file encryption and decryption" license = "MIT" repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs" [package.metadata.capi] min_version = "0.9.21" [package.metadata.capi.header] enabled = false [package.metadata.capi.library] import_library = false 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" [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", ] [dependencies.clap] version = "4" features = ["derive"] optional = true [dependencies.gst] version = "0.23" package = "gstreamer" [dependencies.gst-base] version = "0.23" package = "gstreamer-base" [dependencies.hex] version = "0.4" [dependencies.once_cell] version = "1.3.0" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.smallvec] version = "1.0" [dependencies.sodiumoxide] version = "0.2.1" [dev-dependencies.gst-app] version = "0.23" package = "gstreamer-app" [dev-dependencies.gst-check] version = "0.23" package = "gstreamer-check" [dev-dependencies.pretty_assertions] version = "1" [dev-dependencies.rand] version = "0.8" [build-dependencies.gst-plugin-version-helper] version = "0.8" [features] capi = [] doc = ["gst/v1_18"] static = []