Crates.io | quinn-plaintext |
lib.rs | quinn-plaintext |
version | 0.2.0 |
source | src |
created_at | 2023-08-15 20:15:47.228572 |
updated_at | 2023-11-20 20:23:11.591728 |
description | Plaintext quinn cryptography (insecure) |
homepage | |
repository | https://github.com/jeromegn/quinn-plaintext |
max_upload_size | |
id | 945274 |
size | 40,300 |
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)
Basic examples are available under examples/
let server = quinn::Endpoint::server(quinn_plaintext::server_config(), "[::]:0".parse()?)?;
// ...
let mut client = quinn::Endpoint::client("[::]:0".parse()?)?;
client.set_default_client_config(quinn_plaintext::client_config());
// ...