2022-03-27 09:31:47 +00:00
|
|
|
[package]
|
|
|
|
name = "gst-plugin-vosk"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
authors = ["Rafael Caricio <rafael@caricio.com>"]
|
2022-03-27 09:39:55 +00:00
|
|
|
repository = "https://github.com/rafaelcaricio/gst-plugin-vosk"
|
2022-03-27 09:31:47 +00:00
|
|
|
license = "MPL-2.0"
|
2022-03-27 09:39:55 +00:00
|
|
|
description = "GStreamer plugin for speech to text using the Vosk Toolkit."
|
2022-03-27 09:31:47 +00:00
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
gst = { package = "gstreamer", version = "0.18" }
|
2022-04-01 11:24:19 +00:00
|
|
|
gst-base = { package = "gstreamer-base", version = "0.18" }
|
2022-03-27 09:31:47 +00:00
|
|
|
once_cell = "1"
|
|
|
|
atomic_refcell = "0.1"
|
|
|
|
serde = "1"
|
|
|
|
serde_derive = "1"
|
|
|
|
serde_json = "1"
|
|
|
|
futures = "0.3"
|
|
|
|
tokio = { version = "1.0", features = [ "rt-multi-thread", "time" ] }
|
|
|
|
async-tungstenite = { version = "0.17", features = ["tokio", "tokio-runtime", "tokio-native-tls"] }
|
|
|
|
|
|
|
|
[build-dependencies]
|
2022-04-01 11:24:19 +00:00
|
|
|
gst-plugin-version-helper = "0.7"
|
2022-03-27 09:31:47 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "gstvosk"
|
|
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[features]
|
|
|
|
# GStreamer 1.14 is required for static linking
|
|
|
|
static = ["gst/v1_14"]
|
|
|
|
capi = []
|
|
|
|
|
|
|
|
[package.metadata.capi]
|
|
|
|
min_version = "0.8.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"
|