# 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 = "2021" rust-version = "1.59" name = "binary-layout" version = "4.0.2" authors = ["Sebastian Messmer "] description = "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." homepage = "https://github.com/smessmer/binary-layout" documentation = "https://docs.rs/binary-layout" readme = "README.md" keywords = [ "binary", "layout", "data", "structured", "format", ] categories = [ "data-structures", "encoding", "memory-management", "network-programming", "no-std", ] license = "MIT OR Apache-2.0" repository = "https://github.com/smessmer/binary-layout" [dependencies.doc-comment] version = "^0.3" [dependencies.paste] version = "^1.0" [dependencies.thiserror] version = "^1.0.29" optional = true [dev-dependencies.rand] version = "^0.8" [features] default = ["std"] std = ["thiserror"]