binary-layout 0.3.0

The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a `#[repr(packed)]` struct, but much safer.
Documentation
Build #383833 2021-05-01 21:38:47
# rustc version
rustc 1.53.0-nightly (42816d61e 2021-04-24)# docs.rs version
docsrs 0.6.0 (63fe23e 2021-05-01)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/binary-layout-0.3.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/binary-layout-0.3.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2021-04-25" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--emit=invocation-specific" "--resource-suffix" "-20210424-1.53.0-nightly-42816d61e" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 93eff38e52df777dc9cae56d560edeb456616118cb610e7845400ff891a66c1d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "93eff38e52df777dc9cae56d560edeb456616118cb610e7845400ff891a66c1d", kill_on_drop: false }`
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]  Documenting binary-layout v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3.06s
[INFO] running `Command { std: "docker" "inspect" "93eff38e52df777dc9cae56d560edeb456616118cb610e7845400ff891a66c1d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93eff38e52df777dc9cae56d560edeb456616118cb610e7845400ff891a66c1d", kill_on_drop: false }`
[INFO] [stdout] 93eff38e52df777dc9cae56d560edeb456616118cb610e7845400ff891a66c1d