crafter 0.0.1

Minimal scaffold for a forthcoming Rust packet crafting library.
Documentation
//! Minimal scaffold for the `crafter` crate.
//!
//! This initial release intentionally exposes only a tiny marker API while the
//! packet crafting library is prepared for its first functional release.

#![forbid(unsafe_code)]

/// Returns the published crate version.
pub const fn version() -> &'static str {
    env!("CARGO_PKG_VERSION")
}

#[cfg(test)]
mod tests {
    #[test]
    fn version_matches_package() {
        assert_eq!(crate::version(), env!("CARGO_PKG_VERSION"));
    }
}