# 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.81" name = "musli-zerocopy" version = "0.0.124" authors = ["John-John Tedro "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Refreshingly simple zero copy primitives by Müsli. """ homepage = "https://github.com/udoprog/musli" documentation = "https://docs.rs/musli" readme = "README.md" keywords = [ "no_std", "serialization", "zerocopy", ] categories = [ "encoding", "no-std", "no-std::no-alloc", ] license = "MIT OR Apache-2.0" repository = "https://github.com/udoprog/musli" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", "--generate-link-to-definition", ] [lib] name = "musli_zerocopy" path = "src/lib.rs" [[example]] name = "author" path = "examples/author.rs" [[example]] name = "custom" path = "examples/custom.rs" [[example]] name = "dual_archive" path = "examples/dual_archive.rs" [[example]] name = "phf_map" path = "examples/phf_map.rs" [[example]] name = "slice" path = "examples/slice.rs" [[example]] name = "string" path = "examples/string.rs" [[example]] name = "swiss_map" path = "examples/swiss_map.rs" [[example]] name = "uninit" path = "examples/uninit.rs" [[test]] name = "ui" path = "tests/ui.rs" [dependencies.musli-zerocopy-macros] version = "=0.0.124" [dependencies.rand] version = "0.8.5" features = ["small_rng"] default-features = false [dev-dependencies.anyhow] version = "1.0.81" [dev-dependencies.musli-zerocopy-macros] version = "=0.0.124" features = ["sneaky-fields"] [dev-dependencies.trybuild] version = "1.0.90" [features] alloc = [] default = [ "std", "alloc", ] std = [] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(musli_nightly)"]