Commit Graph

66 Commits

Author SHA1 Message Date
Floris Bruynooghe db9bf72ac4 chore: auto format and wrap comments (#744)
## Description

This enables the auto-formatting to automatically format and wrap
comments so they do not exceed the length of the code.

This is still an experimental feature it seems, but we've had good
results with the import ordering so this might work out as well.

## Breaking Changes

none

## Notes & open questions

This is quite the bloodbath, probably should have been
expected. Partially I wish we could enable this only for new code but
hey.

I've fixed up the worst things, let me know if there's still anything
else that needs fixing up.

I'd secretly like to set this to 92 rather than 100. But I guess that
would be pushing my personal preferences too far.

It this works we should probably also do this on iroh.

I love the irony that the line in the Makefile.toml is now well over
100 characters long.

I'd prefer to only merge this by consensus, vetos are also accepted.

## Change checklist

- [x] Self-review.
- [x] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
2026-07-29 16:33:58 +00:00
Friedel Ziegelmayer 294e3ea603 refactor!: rename to noq (#461)
* refactor!: rename to noq

* fixup python scripts

* fixup

* fixup

* fixup: cr
2026-02-27 14:57:21 +00:00
Dirkjan Ochtman 8339ef3ccc Upgrade rcgen to 0.14 2025-07-02 19:27:49 +00:00
Dirkjan Ochtman e8fa80432f proto: upgrade to rustls-platform-verifier 0.6 2025-06-23 08:26:20 +00:00
Dirkjan Ochtman 2f60681abe book: specify dependency versions 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman f63d962d08 book: remove obsolete rustls features 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman a788429e91 book: order data-transfer code in top-down order 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 6b6d115bda book: order set-up-connection code in top-down order 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman a196f7c480 book: simplify connection setup constants 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman d948de66b5 book: order certificate code in top-down order 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 48e0bb3317 book: import more types 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman ab0596a89b book: rely on implicit targets 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 62fc0397fb book: rename certificate-insecure to certificate 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 2447c2e651 book: merge certificate code files 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 3610629113 book: suppress warnings in code samples 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman 3d019b3fd5 book: clean up formatting 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman bbf95101cd book: fix code references 2025-03-30 17:17:34 +00:00
Dirkjan Ochtman eec45e6b76 book: fix example code 2025-03-30 17:17:34 +00:00
kota-yata 41f7d2ea8f docs: separate example code from document
separate certificate's examples out of md file into rs files

format
2025-03-30 11:59:02 +00:00
Alexandre Seo 33e3f1603b Use fullchain.pem in the certbot example 2023-05-27 10:50:45 -07:00
Zicklag dea7f84a22 Update Wording About Quick Being a Draft 2022-12-13 10:24:13 +01:00
Benjamin Saunders 7d51d2e57e Remove Incoming stream in favor of Endpoint::accept 2022-10-23 08:18:42 +02:00
Benjamin Saunders c63059547c Update book for removal of NewConnection 2022-10-23 07:35:41 +02:00
Banyc 3a25582580 docs: add/modify docs 2022-09-06 13:34:06 -07:00
terrarier2111 b1d28c9cd2 Fix variable name 2022-08-26 19:31:37 +02:00
Dirkjan Ochtman cd00119d25 book: clean up whitespace 2022-06-13 08:56:21 -07:00
Dirkjan Ochtman 2bf23d6b33 book: clean up example certificate code 2022-06-13 08:56:21 -07:00
IchHabeKeineNamen 02d6010375 fix: read PEM certificates/keys by rustls_pemfile
Address the issue https://github.com/quinn-rs/quinn/issues/1367
2022-06-13 10:35:55 +02:00
Csányi István 0e940e11e9 Fix incorrect code 2022-03-28 10:02:22 +02:00
James Higgins e10075cf2f docs: Update the client certificates example to a working config (#1328) 2022-03-19 02:51:02 +01:00
sizumita 0730f11aca Destruct new_connection 2022-01-26 10:16:31 +01:00
sizumita aaf97e4d8d Rename variable 2022-01-26 10:16:31 +01:00
sizumita 6cfb8c4475 Fix typo 2022-01-25 10:19:25 +01:00
sizumita 6d0d7bc737 Add mut 2022-01-25 10:19:25 +01:00
thekuwayama 28129109cf add ? 2022-01-11 10:07:37 +01:00
thekuwayama 837c153e7d add await 2022-01-11 10:07:37 +01:00
thekuwayama 249f62b187 using with_safe_defaults() & with_single_cert() 2022-01-11 10:07:37 +01:00
thekuwayama ed0512d9ca EndpointBuilder => Endpoint 2022-01-11 10:07:37 +01:00
thekuwayama 412a4775f3 docs: modify rustls ServerCertVerifier link 2022-01-11 10:07:37 +01:00
thekuwayama 6ceb3c63bb docs: rm generic directory 2022-01-11 10:07:37 +01:00
Max Davitt f97cb904c2 Fix example in "Self Signed Certificates" section of book 2021-07-19 16:38:34 +02:00
Lachezar Lechev c25475039f fix Next up link of Connection Setup chapter 2021-04-03 17:07:51 +02:00
Timon 99459cf64d Remove link to QUIC protocol page
This one is already mentioned under 'QUIC introduction'.
2021-03-15 21:22:17 +01:00
Timon 1bf12365d0 Update SUMMARY.md 2021-03-15 11:12:26 +01:00
Timon c7d39b5bcc Make link point to correct md file. 2021-03-15 11:12:26 +01:00
Timon ad16714b35 Networking Introduction Book Chapter (#917) 2021-02-23 09:52:40 +01:00
Timon 1a62da82a0 Quinn Introduction Chapter, Data transfer (#922) 2021-02-23 09:51:23 +01:00
Timon 41171ee6a6 (2) Quinn Introduction Chapter, Connection Setup Page (#921)
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
2021-01-28 10:18:20 +01:00
Timon Post 6faa5a3ba9 round 3 2021-01-18 09:30:32 +01:00
Timon f6f832687f Update docs/book/src/quinn/certificate.md
Co-authored-by: Dirkjan Ochtman <dirkjan@ochtman.nl>
2021-01-18 09:30:32 +01:00