Skip to content

Commit

Permalink
rename prerecorded to rest and live to websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienDeepgram committed Jul 23, 2024
1 parent 7e59a23 commit 3db0ea5
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,40 +47,40 @@ speak = ["dep:rodio", "dep:pkg-config"]

[[example]]
name = "prerecorded_from_file"
path = "examples/transcription/prerecorded/prerecorded_from_file.rs"
path = "examples/transcription/rest/prerecorded_from_file.rs"
required-features = ["listen"]

[[example]]
name = "callback"
path = "examples/transcription/prerecorded/callback.rs"
path = "examples/transcription/rest/callback.rs"
required-features = ["listen"]

[[example]]
name = "make_prerecorded_request_builder"
path = "examples/transcription/prerecorded/make_prerecorded_request_builder.rs"
path = "examples/transcription/rest/make_prerecorded_request_builder.rs"
required-features = ["listen"]

[[example]]
name = "prerecorded_from_url"
path = "examples/transcription/prerecorded/prerecorded_from_url.rs"
path = "examples/transcription/rest/prerecorded_from_url.rs"
required-features = ["listen"]

[[example]]
name = "simple_stream"
path = "examples/transcription/live/simple_stream.rs"
path = "examples/transcription/websocket/simple_stream.rs"
required-features = ["listen"]

[[example]]
name = "microphone_stream"
path = "examples/transcription/live/microphone_stream.rs"
path = "examples/transcription/websocket/microphone_stream.rs"
required-features = ["listen"]

[[example]]
name = "text_to_speech_to_file"
path = "examples/speak/text_to_speech_to_file.rs"
path = "examples/speak/rest/text_to_speech_to_file.rs"
required-features = ["speak"]

[[example]]
name = "text_to_speech_to_stream"
path = "examples/speak/text_to_speech_to_stream.rs"
path = "examples/speak/rest/text_to_speech_to_stream.rs"
required-features = ["speak"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/listen/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Listen module
pub mod live;
pub mod prerecorded;
pub mod websocket;
pub mod rest;
File renamed without changes.
File renamed without changes.

0 comments on commit 3db0ea5

Please sign in to comment.