Files
firezone/rust/connlib/etherparse-ext/src/lib.rs
Thomas Eizinger 5566f1847f refactor(rust): move crates into a more sensical hierarchy (#9066)
The current `rust/` directory is a bit of a wild-west in terms of how
the crates are organised. Most of them are simply at the top-level when
in reality, they are all `connlib`-related. The Apple and Android FFI
crates - which are entrypoints in the Rust code are defined several
layers deep.

To improve the situation, we move around and rename several crates. The
end result is that all top-level crates / directories are:

- Either entrypoints into the Rust code, i.e. applications such as
Gateway, Relay or a Client
- Or crates shared across all those entrypoints, such as `telemetry` or
`logging`
2025-05-12 01:04:17 +00:00

22 lines
601 B
Rust

//! Extension crate for `etherparse` that provides mutable slices for headers.
//!
//! To be eventually upstreamed to `etherparse`.
#![cfg_attr(not(test), no_std)]
#![cfg_attr(test, allow(clippy::unwrap_used))]
mod icmpv4_header_slice_mut;
mod icmpv6_header_slice_mut;
mod ipv4_header_slice_mut;
mod ipv6_header_slice_mut;
mod slice_utils;
mod tcp_header_slice_mut;
mod udp_header_slice_mut;
pub use icmpv4_header_slice_mut::*;
pub use icmpv6_header_slice_mut::*;
pub use ipv4_header_slice_mut::*;
pub use ipv6_header_slice_mut::*;
pub use tcp_header_slice_mut::*;
pub use udp_header_slice_mut::*;