-
Notifications
You must be signed in to change notification settings - Fork 726
examples: convert tlsserver-mio from docopt to clap #2126
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
Conversation
Benchmark resultsInstruction countsSignificant differencesClick to expand
Other differencesClick to expand
Wall-timeSignificant differencesThere are no significant wall-time differences Other differencesClick to expand
Additional informationCheckout details:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2126 +/- ##
==========================================
+ Coverage 94.66% 94.87% +0.21%
==========================================
Files 102 102
Lines 23450 24263 +813
==========================================
+ Hits 22198 23019 +821
+ Misses 1252 1244 -8 ☔ View full report in Codecov by Sentry. |
fae6fa9
to
b65fb44
Compare
Thanks for doing this, happy to do the legwork on the remaining samples to eliminate docopt altogether after this is finished. |
cc3fcdd
to
64733fb
Compare
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.
Very nice 👍
Separate from the docopt -> clap change, how do folks feel about the "mio" part of the example names? I've heard from at least one person looking for something sort of like a It feels a little bit like the MIO part is an implementation detail, and perhaps not the "main draw" of the examples. WDYT? |
Seems fair. Since we have the |
I'm a little bit torn on that direction. If we made that change, would there be an argument the examples should live in the Edit; also don't want to derail this PR too much. Maybe best to file a separate issue? |
You were the one arguing that these examples are effectively providing a CLI for rustls, which makes sense to me. I think any value from sitting between the simple examples and deferring to Tokio for I/O is extremely niche. But as discussed recently, I'm kind of down on having many examples...
Yeah, wasn't going to pick it up for this PR. |
Not sure how best to test that this works...
I can take care of the other examples too, but figured it'd be good to get feedback on one first.