Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion web-transport-moq/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ tokio = { version = "1", default-features = false, features = [
tracing = "0.1"
url = "2"
web-transport-proto = "0.6"
web-transport-trait = "0.4"
web-transport-trait = "0.5"

[dev-dependencies]
anyhow = "1"
Expand Down
3 changes: 0 additions & 3 deletions web-transport-moq/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,5 @@ pub use http;
/// [`SessionAccept`]'s poll methods holds its place in the accept queue.
pub use kio;

/// Re-export the generic WebTransport implementation.
pub use web_transport_trait as generic;

/// Re-export the WebTransport protocol implementation.
pub use web_transport_proto as proto;
4 changes: 2 additions & 2 deletions web-transport-moq/src/send.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ impl tokio::io::AsyncWrite for SendStream {
impl web_transport_trait::SendStream for SendStream {
type Error = WriteError;

fn set_priority(&mut self, order: u8) {
Self::set_priority(self, order.into()).ok();
fn set_priority(&mut self, order: i32) {
Self::set_priority(self, order).ok();
}

fn reset(&mut self, code: u32) {
Expand Down
Loading