# 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" name = "speechmatics" version = "0.3.3" authors = ["Tudor Evans"] description = "An async rust SDK for the Speechmatics API" homepage = "https://github.com/speechmatics/speechmatics-rs" readme = "README.md" keywords = [ "websocket", "speechmatics", "asr", "async", ] license = "MIT" repository = "https://github.com/speechmatics/speechmatics-rs" [package.metadata.docs.rs] all-features = true [[example]] name = "realtim-basic" path = "examples/realtime-basic.rs" [[example]] name = "tokio-batch" path = "examples/tokio-batch.rs" [[example]] name = "async-std-batch" path = "examples/async-std-batch.rs" [dependencies.anyhow] version = "1.0" [dependencies.base64] version = "0.21.4" [dependencies.futures] version = "0.3.28" [dependencies.futures-io] version = "0.3.28" [dependencies.http] version = "0.2.9" optional = true [dependencies.log] version = "0.4.20" [dependencies.rand] version = "0.8.5" optional = true [dependencies.reqwest] version = "0.11.20" features = [ "multipart", "stream", "json", ] optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1.33" features = [ "macros", "rt", "sync", "rt-multi-thread", ] optional = true [dependencies.tokio-tungstenite] version = "0.19.0" features = ["native-tls"] optional = true [dependencies.url] version = "2.4.1" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [features] batch = [ "dep:reqwest", "dep:rand", ] realtime = [ "dep:tokio-tungstenite", "dep:tokio", "dep:http", ]