-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add connection setup helpers to the quinn transport. #129
Conversation
Copying and updating these gets really old. This also fixes a bug in the fn make_insecure_client_endpoint that would not support any verification schemes, causing the split example to fail. We also add some top level type aliases and fns for creating channels for mem and testing.
no luck so far...
# Conflicts: # src/lib.rs
XXXListener to server and XXXConnector to client where the BoxedListener and BoxedConnector type aliases already live
@@ -0,0 +1,32 @@ | |||
Building docs for this crate is a bit complex. There are lots of feature flags, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think is file is usually called CONTRIBUTING.md
#![deny(missing_docs)] | ||
#![deny(rustdoc::broken_intra_doc_links)] | ||
#![cfg_attr(quicrpc_docsrs, feature(doc_cfg))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you use the auto
thing @flub found, you can simplify this: n0-computer/iroh#3029
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, will do at some point. But I am afraid that I will spend another few hours on this, so I will wait for 1 iroh release before converting to the auto stuff...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some notes for improvements, otherwise LGTM
Copying and updating these gets really old.
This also fixes a bug in the fn make_insecure_client_endpoint that would not support any verification schemes, causing the split example to fail.
We also add some top level type aliases and fns for creating channels for mem and testing.
We get a dependency on rcgen and rustls, but only if you set the "test-utils" feature flag. Everybody that wants to use the quinn transport is going to want such tests in their crate, and this way we can do the whole setup only once.