We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab0e8b commit 0e45995Copy full SHA for 0e45995
README.md
@@ -62,6 +62,13 @@ Data:
62
| responder-next-1rtt-key = SqueezeKey(32)
63
```
64
65
+## QUIC version
66
+
67
+Reserved versions for `quinn-noise` are `0xf0f0f2f[0-f]` [0]. Currently only `0xf0f0f2f0` is a
68
+valid `quinn-noise` version.
69
70
+- [0] https://github.com/quicwg/base-drafts/wiki/QUIC-Versions
71
72
## License
73
74
MIT OR Apache-2.0
src/lib.rs
@@ -4,3 +4,8 @@ mod session;
4
5
pub use crate::session::{NoiseConfig, NoiseSession};
6
pub use ed25519_dalek::{Keypair, PublicKey};
7
8
+// https://github.com/quicwg/base-drafts/wiki/QUIC-Versions
9
+// reserved versions for quinn-noise 0xf0f0f2f[0-f]
10
+pub const SUPPORTED_QUIC_VERSIONS: &[u32] = &[0xf0f0f2f0];
11
+pub const DEFAULT_QUIC_VERSION: u32 = 0xf0f0f2f0;
0 commit comments