From 4ac319972be25d828bb1d4e26fb5227170ee463f Mon Sep 17 00:00:00 2001 From: John Vajda Date: Fri, 23 Aug 2024 13:54:36 -0600 Subject: [PATCH 1/3] updates cargo.toml file & readme --- Cargo.toml | 20 ++++++++++++++++---- README.md | 18 +++++++++--------- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2594fb58..750730fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,8 +5,14 @@ authors = ["Deepgram "] edition = "2021" description = "Official Rust SDK for Deepgram's automated speech recognition APIs." license = "MIT" -repository = "https://github.com/deepgram-devs/deepgram-rust-sdk" -keywords = ["transcription", "voice-ai", "text-to-speech", "speech-to-text","asr"] +repository = "https://github.com/deepgram/deepgram-rust-sdk" +keywords = [ + "transcription", + "voice-ai", + "text-to-speech", + "speech-to-text", + "asr", +] categories = ["api-bindings", "multimedia::audio"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -18,7 +24,11 @@ bytes = "1" futures = "0.3" http = "0.2" pin-project = "1" -reqwest = { version = "0.11.22", default-features = false, features = ["json", "rustls-tls", "stream"] } +reqwest = { version = "0.11.22", default-features = false, features = [ + "json", + "rustls-tls", + "stream", +] } rodio = { version = "0.17.0", optional = true } serde = { version = "1.0.25", features = ["derive"] } serde_json = "1" @@ -26,7 +36,9 @@ serde_urlencoded = "0.7" thiserror = "1" tokio = { version = "1.38.0", features = ["full"] } tokio-stream = "0.1.15" -tokio-tungstenite = { version = "0.20.1", features = ["rustls-tls-webpki-roots"], optional = true } +tokio-tungstenite = { version = "0.20.1", features = [ + "rustls-tls-webpki-roots", +], optional = true } tokio-util = { version = "0.7.1", features = ["codec", "io"] } tungstenite = { version = "0.20.1", optional = true } url = "2" diff --git a/README.md b/README.md index 51cd4034..974cdc4a 100644 --- a/README.md +++ b/README.md @@ -1,25 +1,29 @@ # Deepgram Rust SDK +[![Discord](https://dcbadge.vercel.app/api/server/xWRaCDBtW4?style=flat)](https://discord.gg/xWRaCDBtW4) [![CI](https://github.com/deepgram-devs/deepgram-rust-sdk/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/deepgram-devs/deepgram-rust-sdk/actions/workflows/ci.yaml) [![crates.io](https://img.shields.io/crates/v/deepgram)](https://crates.io/crates/deepgram) [![downloads](https://img.shields.io/crates/d/deepgram)](https://crates.io/crates/deepgram) [![docs](https://img.shields.io/docsrs/deepgram)](https://docs.rs/deepgram) [![license](https://img.shields.io/crates/l/deepgram)](./LICENSE) -Experimental Rust SDK for [Deepgram](https://www.deepgram.com/). Power your apps with world-class speech and Language AI models. +A Community Rust SDK for [Deepgram](https://www.deepgram.com/). Start building with our powerful transcription & speech understanding API. -> This SDK only supports hosted usage of api.deepgram.com. +## SDK Documentation + +This SDK implements the Deepgram API found at [https://developers.deepgram.com](https://developers.deepgram.com). + +Documentation and examples can be found on our [Docs.rs page](https://docs.rs/deepgram/latest/deepgram/). ## Getting an API Key 🔑 To access the Deepgram API you will need a [free Deepgram API Key](https://console.deepgram.com/signup?jump=keys). -## Documentation -You can learn more about the Deepgram API at [developers.deepgram.com](https://developers.deepgram.com/docs). ## Current Status -This SDK is still very much work-in-progress. The interface is subject to rapid change. +This SDK is currently Community owned but is moving to a stable `1.0` version soon. + ## Install From within your Cargo project directory, run the following command: @@ -34,10 +38,6 @@ You will also probably need to install [`tokio`](https://crates.io/crates/tokio) cargo add tokio --features full ``` -## Documentation and Examples - -Documentation and examples can be found on our [Docs.rs page](https://docs.rs/deepgram/latest/deepgram/). - ## Development and Contributing Interested in contributing? We ❤️ pull requests! From 832be50e44f16d689c9c692da16251f2c3f9a454 Mon Sep 17 00:00:00 2001 From: "John Vajda (JV)" Date: Fri, 23 Aug 2024 15:01:31 -0600 Subject: [PATCH 2/3] Update Cargo.toml Co-authored-by: Cliff Dyer --- Cargo.toml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 750730fa..591bd418 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,9 +36,11 @@ serde_urlencoded = "0.7" thiserror = "1" tokio = { version = "1.38.0", features = ["full"] } tokio-stream = "0.1.15" -tokio-tungstenite = { version = "0.20.1", features = [ - "rustls-tls-webpki-roots", -], optional = true } +tokio-tungstenite = { + version = "0.20.1", + features = ["rustls-tls-webpki-roots"], + optional = true +} tokio-util = { version = "0.7.1", features = ["codec", "io"] } tungstenite = { version = "0.20.1", optional = true } url = "2" From 46945649e0b33bb809c1f6abd07b950d65631d8e Mon Sep 17 00:00:00 2001 From: John Vajda Date: Fri, 23 Aug 2024 15:14:50 -0600 Subject: [PATCH 3/3] fixes toml sytnax issue --- Cargo.toml | 8 +++----- README.md | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 591bd418..750730fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,11 +36,9 @@ serde_urlencoded = "0.7" thiserror = "1" tokio = { version = "1.38.0", features = ["full"] } tokio-stream = "0.1.15" -tokio-tungstenite = { - version = "0.20.1", - features = ["rustls-tls-webpki-roots"], - optional = true -} +tokio-tungstenite = { version = "0.20.1", features = [ + "rustls-tls-webpki-roots", +], optional = true } tokio-util = { version = "0.7.1", features = ["codec", "io"] } tungstenite = { version = "0.20.1", optional = true } url = "2" diff --git a/README.md b/README.md index 974cdc4a..da2743f6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Deepgram Rust SDK [![Discord](https://dcbadge.vercel.app/api/server/xWRaCDBtW4?style=flat)](https://discord.gg/xWRaCDBtW4) -[![CI](https://github.com/deepgram-devs/deepgram-rust-sdk/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/deepgram-devs/deepgram-rust-sdk/actions/workflows/ci.yaml) +[![CI](https://github.com/deepgram/deepgram-rust-sdk/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/deepgram/deepgram-rust-sdk/actions/workflows/ci.yaml) [![crates.io](https://img.shields.io/crates/v/deepgram)](https://crates.io/crates/deepgram) [![downloads](https://img.shields.io/crates/d/deepgram)](https://crates.io/crates/deepgram) [![docs](https://img.shields.io/docsrs/deepgram)](https://docs.rs/deepgram)