3 unstable releases

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

#5 in #insecure

Download history 116/week @ 2024-08-26 15/week @ 2024-09-02 9/week @ 2024-09-09 63/week @ 2024-09-16 51/week @ 2024-09-23 30/week @ 2024-09-30 9/week @ 2024-10-07 19/week @ 2024-10-14 28/week @ 2024-10-21 24/week @ 2024-10-28 33/week @ 2024-11-04 4/week @ 2024-11-11 24/week @ 2024-11-18 93/week @ 2024-11-25 70/week @ 2024-12-02 64/week @ 2024-12-09

251 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

~3MB
~62K SLoC