aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHenauxg <19689618+Henauxg@users.noreply.github.com>2023-01-17 20:42:50 +0100
committerHenauxg <19689618+Henauxg@users.noreply.github.com>2023-01-17 20:42:50 +0100
commit1e7ef10aeeac969eb7253d86370cbc1ad7548fc9 (patch)
tree810f3a7698b0ad6231dfafb218388b4662879813 /src/lib.rs
parent4e9fc77604a9ef1745fb3ee08eb5bc66cb2711b3 (diff)
[client] Move client::connection into a separate file
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bff2b7f..e8a9a00 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -20,7 +20,8 @@ mod tests {
CertVerificationInfo, CertVerificationStatus, CertVerifierAction,
CertificateVerificationMode,
},
- Client, ConnectionConfiguration, QuinnetClientPlugin, DEFAULT_KNOWN_HOSTS_FILE,
+ connection::ConnectionConfiguration,
+ Client, QuinnetClientPlugin, DEFAULT_KNOWN_HOSTS_FILE,
},
server::{
self, certificate::CertificateRetrievalMode, QuinnetServerPlugin, Server,
@@ -509,7 +510,7 @@ mod tests {
}
fn handle_client_events(
- mut connection_events: EventReader<client::ConnectionEvent>,
+ mut connection_events: EventReader<client::connection::ConnectionEvent>,
mut cert_trust_update_events: EventReader<CertTrustUpdateEvent>,
mut cert_interaction_events: EventReader<CertInteractionEvent>,
mut cert_connection_abort_events: EventReader<CertConnectionAbortEvent>,