Debian Codegraph @

crt/s2n/bindings/rust/extended/s2n-tls/src/lib.rs

raw symbols SCIP
1 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 // SPDX-License-Identifier: Apache-2.0
3
4 extern crate alloc;
5
6 // Ensure memory is correctly managed in tests
7 // tests invoked using the checkers::test macro have additional
8 // memory sanity checks that occur
9 #[cfg(test)]
10 #[global_allocator]
11 static ALLOCATOR: checkers::Allocator = checkers::Allocator::system();
12
13 #[macro_use]
14 pub mod error;
15
16 pub mod callbacks;
17 #[cfg(feature = "unstable-cert_authorities")]
18 pub mod cert_authorities;
19 pub mod cert_chain;
20 pub mod client_hello;
21 pub mod config;
22 pub mod connection;
23 pub mod enums;
24 #[cfg(feature = "unstable-events")]
25 pub mod events;
26 #[cfg(feature = "unstable-fingerprint")]
27 pub mod fingerprint;
28 pub mod init;
29 pub mod pool;
30 pub mod psk;
31 #[cfg(feature = "unstable-renegotiate")]
32 pub mod renegotiate;
33 pub mod security;
34 pub(crate) mod utilities;
35
36 pub use s2n_tls_sys as ffi;
37
38 #[cfg(any(feature = "unstable-testing", test))]
39 pub mod testing;