3 unstable releases

0.2.0 Nov 20, 2023
0.1.1 Aug 16, 2023
0.1.0 Aug 15, 2023

#4 in #insecure

Download history 49/week @ 2024-04-04 138/week @ 2024-04-11 54/week @ 2024-04-18 30/week @ 2024-04-25 46/week @ 2024-05-02 75/week @ 2024-05-09 80/week @ 2024-05-16 65/week @ 2024-05-23 63/week @ 2024-05-30 52/week @ 2024-06-06 46/week @ 2024-06-13 59/week @ 2024-06-20 48/week @ 2024-06-27 56/week @ 2024-07-04 48/week @ 2024-07-11 28/week @ 2024-07-18

192 downloads per month
Used in atm0s-sdn-virtual-socket

MIT/Apache

16KB
324 lines

quinn-plaintext

Use QUIC without encryption.

Normally, data integrity checks are performed by the cryptography layer. As of 0.2.0, there is checksum added to the tag storage to prevent corrupted data to make it through.

This is not recommended unless there's already encryption w/ the underlying layer (e.g. Wireguard)

Usage

Basic examples are available under examples/

Server

let server = quinn::Endpoint::server(quinn_plaintext::server_config(), "[::]:0".parse()?)?;
// ...

Client

let mut client = quinn::Endpoint::client("[::]:0".parse()?)?;
client.set_default_client_config(quinn_plaintext::client_config());
// ...

Dependencies

~2.2–3MB
~62K SLoC