# 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" name = "endian-num" version = "0.2.0" authors = ["Martin Kröning "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Byte-order-aware numeric types." readme = "README.md" keywords = [ "byte", "endian", "big-endian", "little-endian", "binary", ] categories = [ "encoding", "rust-patterns", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-osdev/endian-num" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "endian_num" path = "src/lib.rs" [dependencies.bitflags] version = "2" optional = true [dependencies.bytemuck] version = "1" optional = true [dependencies.bytemuck_derive] version = "1" optional = true [dependencies.zerocopy] version = "0.8" optional = true default-features = false [dependencies.zerocopy-derive] version = "0.8" optional = true [features] bitflags = ["dep:bitflags"] bytemuck = [ "dep:bytemuck", "dep:bytemuck_derive", ] linux-types = [] zerocopy = [ "dep:zerocopy", "dep:zerocopy-derive", ]