1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! The one crypto library behind cluster TLS, JWT validation, end-to-end
//! encryption and the Python crypto helpers, chosen when the extension is
//! built:
//!
//! - `aws-lc` (default, the published wheels): aws-lc-rs.
//! - `fips`: aws-lc-rs built from its FIPS 140-3 validated module. Building it
//! needs CMake and Go:
//! `MATURIN_PEP517_ARGS="--features fips" pip install wse-server --no-binary wse-server`.
//!
//! The functions live in `crate::protocol::crypto`, shared with the Rust
//! client. TLS gets its provider from here explicitly; nothing is installed
//! as the process-wide rustls default, so an application's own TLS setup is
//! left alone.
compile_error!;
use Arc;
pub use crate*;
/// The rustls provider for cluster TLS.
pub