ytls_extensions/lib.rs
1#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]
2#![warn(
3 clippy::unwrap_used,
4 missing_docs,
5 rust_2018_idioms,
6 unused_lifetimes,
7 unused_qualifications
8)]
9#![doc = include_str!("../README.md")]
10#![allow(missing_docs)]
11#![allow(unused_imports)]
12#![allow(dead_code)]
13
14//***********************************************
15// Re-Exports
16//***********************************************
17
18//-----------------------------------------------
19// All Errors
20//-----------------------------------------------
21mod error;
22pub use error::*;
23
24//-----------------------------------------------
25// 0 - Server Name Indicator
26//-----------------------------------------------
27mod sni;
28#[doc(inline)]
29pub use sni::*;
30
31//-----------------------------------------------
32// 10 - Supported (EC) Groups
33//-----------------------------------------------
34mod supported_groups;
35#[doc(inline)]
36pub use supported_groups::*;
37
38//-----------------------------------------------
39// 11 - Supported (EC) Point Formats - DEPRECATED
40//-----------------------------------------------
41// point formats = all but uncompressed now supported
42// https://datatracker.ietf.org/doc/html/rfc8422#section-5.1.2
43// add it if needed to support deprecated point formats
44
45//-----------------------------------------------
46// 13 - Signature Algorithms
47//-----------------------------------------------
48mod signature_algorithms;
49#[doc(inline)]
50pub use signature_algorithms::*;
51
52//-----------------------------------------------
53// 16 - Application Layer Protocol Negotiation (ALPN)
54//-----------------------------------------------
55mod alpns;
56#[doc(inline)]
57pub use alpns::*;
58
59//-----------------------------------------------
60// 27 - Compress Certificate
61//-----------------------------------------------
62mod compress_certificate;
63#[doc(inline)]
64pub use compress_certificate::*;
65
66//-----------------------------------------------
67// 28 - Record Size Limit
68//-----------------------------------------------
69mod rec_size_limit;
70#[doc(inline)]
71pub use rec_size_limit::*;
72
73//-----------------------------------------------
74// 34 - Delegated Credential
75//-----------------------------------------------
76mod delegated_credential;
77#[doc(inline)]
78pub use delegated_credential::*;
79
80//-----------------------------------------------
81// 41 - Supported Versions
82//-----------------------------------------------
83mod pre_shared_key_ex;
84#[doc(inline)]
85pub use pre_shared_key_ex::*;
86
87//-----------------------------------------------
88// 43 - Supported Versions
89//-----------------------------------------------
90mod supported_versions;
91#[doc(inline)]
92pub use supported_versions::*;
93
94//-----------------------------------------------
95// 51 - Key Share
96//-----------------------------------------------
97mod key_share;
98#[doc(inline)]
99pub use key_share::*;
100
101//-----------------------------------------------
102// 65037 - encrypted_client_hello
103//-----------------------------------------------
104mod encrypted_client_hello;
105#[doc(inline)]
106pub use encrypted_client_hello::*;