#quic

quinn-plaintext

Plaintext quinn cryptography (insecure)

3 unstable releases

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

#130 in #quic

Download history 44/week @ 2024-07-19 68/week @ 2024-07-26 40/week @ 2024-08-02 35/week @ 2024-08-09 29/week @ 2024-08-16 77/week @ 2024-08-23 52/week @ 2024-08-30 12/week @ 2024-09-06 41/week @ 2024-09-13 65/week @ 2024-09-20 30/week @ 2024-09-27 20/week @ 2024-10-04 17/week @ 2024-10-11 24/week @ 2024-10-18 17/week @ 2024-10-25 26/week @ 2024-11-01

85 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
~63K SLoC