Skip to content

Commit

Permalink
deps: Depend on iroh-quinn and bump version (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
flub authored May 6, 2024
1 parent ca44b8d commit df54382
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 63 deletions.
104 changes: 52 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "quic-rpc"
version = "0.8.0"
version = "0.9.0"
edition = "2021"
authors = ["Rüdiger Klaehn <[email protected]>"]
keywords = ["api", "protocol", "network", "rpc"]
Expand All @@ -23,7 +23,7 @@ futures-sink = "0.3.30"
futures-util = { version = "0.3.30", features = ["sink"] }
hyper = { version = "0.14.16", features = ["full"], optional = true }
pin-project = "1"
quinn = { version = "0.10", optional = true }
quinn = { package = "iroh-quinn", version = "0.10", optional = true }
serde = { version = "1.0.183", features = ["derive"] }
tokio = { version = "1", default-features = false, features = ["macros", "sync"] }
tokio-serde = { version = "0.8", features = ["bincode"], optional = true }
Expand All @@ -42,7 +42,7 @@ async-stream = "0.3.3"
derive_more = { version = "1.0.0-beta.1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
tokio = { version = "1", features = ["full"] }
quinn = "0.10"
quinn = { package = "iroh-quinn", version = "0.10" }
rcgen = "0.10.0"
rustls = "0.21"
thousands = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/split/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
anyhow = "1.0.14"
futures = "0.3.26"
quic-rpc = { path = "../../..", features = ["quinn-transport", "macros"] }
quinn = "0.10"
quinn = { package = "iroh-quinn", version = "0.10" }
rustls = { version = "0.21", features = ["dangerous_configuration"] }
tracing-subscriber = "0.3.16"
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion examples/split/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ async-stream = "0.3.3"
futures = "0.3.26"
tracing-subscriber = "0.3.16"
quic-rpc = { path = "../../..", features = ["quinn-transport", "macros"] }
quinn = "0.10"
quinn = { package = "iroh-quinn", version = "0.10" }
rcgen = "0.10.0"
rustls = "0.21"
serde = { version = "1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/pattern/bidi_streaming.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//!
//! Bidirectional stream interaction pattern.

use futures_lite::{Stream, StreamExt};
use futures_util::{FutureExt, SinkExt};
Expand Down
3 changes: 2 additions & 1 deletion src/pattern/client_streaming.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//!
//! Client streaming interaction pattern.

use futures_lite::{future::Boxed, Future, StreamExt};
use futures_util::{FutureExt, SinkExt, TryFutureExt};

Expand Down
2 changes: 1 addition & 1 deletion src/pattern/rpc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//!
//! RPC interaction pattern.

use futures_lite::{Future, StreamExt};
use futures_util::{FutureExt, SinkExt};
Expand Down
2 changes: 1 addition & 1 deletion src/pattern/server_streaming.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//!
//! Server streaming interaction pattern.

use futures_lite::{Stream, StreamExt};
use futures_util::{FutureExt, SinkExt, TryFutureExt};
Expand Down
5 changes: 3 additions & 2 deletions src/pattern/try_server_streaming.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//!
//! Fallible server streaming interaction pattern.

use futures_lite::{Future, Stream, StreamExt};
use futures_util::{FutureExt, SinkExt, TryFutureExt};
use serde::{Deserialize, Serialize};
Expand All @@ -25,7 +26,7 @@ use std::{
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub struct StreamCreated;

///
/// Fallible server streaming interaction pattern.
#[derive(Debug, Clone, Copy)]
pub struct TryServerStreaming;

Expand Down

0 comments on commit df54382

Please sign in to comment.