Skip to content

Commit

Permalink
Introduce async streams.
Browse files Browse the repository at this point in the history
This reworks the entire 'response::stream' module for async streams.

Resolves #1066.
  • Loading branch information
SergioBenitez committed Apr 28, 2021
1 parent a72e8da commit 336a03e
Show file tree
Hide file tree
Showing 6 changed files with 727 additions and 93 deletions.
4 changes: 4 additions & 0 deletions core/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ indexmap = { version = "1.0", features = ["serde-1"] }
tempfile = "3"
async-trait = "0.1.43"

[dependencies.async-stream]
git = "https://github.com/SergioBenitez/async-stream.git"
rev = "c46ada9"

[dependencies.state]
git = "https://github.com/SergioBenitez/state.git"
rev = "8f94dc"
Expand Down
1 change: 1 addition & 0 deletions core/lib/src/response/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub(crate) mod flash;

pub mod content;
pub mod status;
pub mod stream;

#[doc(hidden)]
pub use rocket_codegen::Responder;
Expand Down
Loading

0 comments on commit 336a03e

Please sign in to comment.