binlayout 0.1.0

Host-independent size, alignment, padding, and offset calculations for binary data models
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "binlayout"
version = "0.1.0"
build = false
include = [
    "src/**",
    "examples/**",
    "tests/**",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Host-independent size, alignment, padding, and offset calculations for binary data models"
documentation = "https://docs.rs/binlayout"
readme = "README.md"
keywords = [
    "binary",
    "layout",
    "alignment",
    "abi",
    "no-std",
]
categories = [
    "data-structures",
    "no-std",
]
license = "MPL-2.0"
repository = "https://github.com/LunaStev/binlayout"

[package.metadata.docs.rs]
all-features = true

[features]
default = ["std"]
std = []

[lib]
name = "binlayout"
path = "src/lib.rs"

[[example]]
name = "elf"
path = "examples/elf.rs"

[[example]]
name = "header"
path = "examples/header.rs"

[[example]]
name = "protocol"
path = "examples/protocol.rs"

[[test]]
name = "elf"
path = "tests/elf.rs"

[[test]]
name = "invariants"
path = "tests/invariants.rs"

[[test]]
name = "layout"
path = "tests/layout.rs"

[[test]]
name = "structure"
path = "tests/structure.rs"

[[test]]
name = "target"
path = "tests/target.rs"

[[test]]
name = "union"
path = "tests/union.rs"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"