// SPDX-License-Identifier: MIT OR Apache-2.0
//
// Copyright (c) 2024 Nathaniel Bennett <me[at]nathanielbennett[dotcom]>
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

pub use pkts_common::{Buffer, BufferMut};

pub use crate::error::{SerializationError, ValidationError, ValidationErrorClass};
pub use crate::layers::traits::*;
#[cfg(feature = "alloc")]
pub use crate::layers::Raw;
pub use crate::layers::RawRef;

#[cfg(feature = "alloc")]
pub use crate::{parse_layers, parse_layers_unchecked};
