// SPDX-License-Identifier: BUSL-1.1

pub mod envelope;
pub mod error;
pub mod handshake_io;
pub mod metrics;
pub mod negotiation;
pub mod types;

pub use envelope::{
    Versioned, decode_versioned, encode_versioned, unwrap_bytes_versioned, wrap_bytes_versioned,
};
pub use error::WireVersionError;
pub use handshake_io::local_version_range;
pub use metrics::WireVersionMetrics;
pub use negotiation::{VersionHandshake, VersionHandshakeAck, VersionRange, negotiate};
pub use types::WireVersion;
