s2n_quic_platform/lib.rs
1// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2// SPDX-License-Identifier: Apache-2.0
3
4//! This module contains abstractions around the platform on which the
5//! stack is running
6
7#![cfg_attr(not(any(test, feature = "std")), no_std)]
8
9extern crate alloc;
10
11#[cfg(target_os = "linux")]
12pub mod bpf;
13pub mod features;
14pub mod io;
15pub mod message;
16pub mod socket;
17pub mod syscall;
18#[doc(hidden)] // TODO remove this module: https://github.com/aws/s2n-quic/issues/1738
19pub mod time;