Skip to content

Commit

Permalink
fix(stream): ensure the streams are Send
Browse files Browse the repository at this point in the history
  • Loading branch information
naamancurtis committed Feb 24, 2021
1 parent 53bc8a6 commit 6367012
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ksqldb"
version = "0.1.0-alpha.4"
version = "0.1.0-alpha.5"
authors = ["Naaman <naaman.the.dev@gmail.com>"]
description = "A thin wrapper around the KSQL DB REST API to make it more ergonomic to work with."
edition = "2018"
Expand Down
1 change: 1 addition & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Crate specific error types
use serde::Deserialize;
use serde_json::Value;

Expand Down
6 changes: 3 additions & 3 deletions src/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mod http2 {
///
/// ## Notes
///
/// - The `T` provided, must be able to directly [`Deserialize`] the response, it will
/// - The `T` provided, must be able to directly [`serde::Deserialize`] the response, it will
/// error if there are missing mandatory fields
/// - In the example below, if you were to change the query to be `SELECT ID FROM
/// EVENT_REPLAY_STREAM EMIT CHANGES`, the query would error, because all of the other fields
Expand Down Expand Up @@ -165,7 +165,7 @@ mod http2 {
columns: Vec<String>,
#[pin]
stream: S,
_marker: PhantomData<*const T>,
_marker: PhantomData<dyn Fn() -> T>,
}
}

Expand Down Expand Up @@ -391,7 +391,7 @@ mod http1 {
columns: Vec<String>,
#[pin]
stream: S,
_marker: PhantomData<*const T>
_marker: PhantomData<dyn Fn() -> T>
}
}

Expand Down

0 comments on commit 6367012

Please sign in to comment.