From b1131520e9afb287e468e631d65e4efea17252c3 Mon Sep 17 00:00:00 2001 From: XOR-op <17672363+XOR-op@users.noreply.github.com> Date: Sat, 7 Jan 2023 02:27:19 +0800 Subject: [PATCH 1/2] reexport udp::{RecvMeta, UdpState} for AsyncUdpSocket --- quinn/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/quinn/src/lib.rs b/quinn/src/lib.rs index 0d8730648..856774214 100644 --- a/quinn/src/lib.rs +++ b/quinn/src/lib.rs @@ -63,6 +63,7 @@ pub use proto::{ ConnectionClose, ConnectionError, EndpointConfig, IdleTimeout, ServerConfig, StreamId, Transmit, TransportConfig, VarInt, }; +pub use udp::{RecvMeta, UdpState}; pub use crate::connection::{ AcceptBi, AcceptUni, Connecting, Connection, OpenBi, OpenUni, ReadDatagram, SendDatagramError, From f9e801e134d67a7ed2f71fb2a223f8b8af988af5 Mon Sep 17 00:00:00 2001 From: XOR-op <17672363+XOR-op@users.noreply.github.com> Date: Sat, 7 Jan 2023 04:42:32 +0800 Subject: [PATCH 2/2] reexport whole quinn-udp module --- quinn/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quinn/src/lib.rs b/quinn/src/lib.rs index 856774214..d94aaef55 100644 --- a/quinn/src/lib.rs +++ b/quinn/src/lib.rs @@ -63,7 +63,7 @@ pub use proto::{ ConnectionClose, ConnectionError, EndpointConfig, IdleTimeout, ServerConfig, StreamId, Transmit, TransportConfig, VarInt, }; -pub use udp::{RecvMeta, UdpState}; +pub use udp; pub use crate::connection::{ AcceptBi, AcceptUni, Connecting, Connection, OpenBi, OpenUni, ReadDatagram, SendDatagramError,