zerovec 0.8.1

Zero-copy vector backed by a byte array
Documentation
# This file is part of ICU4X. For terms of use, please see the file
# called LICENSE at the top level of the ICU4X source tree
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

[package]
name = "zerovec"
description = "Zero-copy vector backed by a byte array"
version = "0.8.1"
authors = ["The ICU4X Project Developers"]
edition = "2018"
readme = "README.md"
repository = "https://github.com/unicode-org/icu4x"
license = "Unicode-DFS-2016"
categories = ["rust-patterns", "memory-management", "caching", "no-std", "data-structures"]
keywords = ["zerocopy", "serialization", "zero-copy", "serde"]
include = [
    "src/**/*",
    "examples/**/*",
    "benches/**/*",
    "Cargo.toml",
    "LICENSE",
    "README.md"
]

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

[dependencies]
serde = { version = "1.0", optional = true, default-features = false, features = ["alloc"] }
yoke = { version = "0.6.0", path = "../yoke", optional = true }
zerofrom = { version = "0.1.0", path = "../zerofrom" }
zerovec-derive = {version = "0.8.0", path = "./derive", optional = true}
databake = { version = "0.1.0", path = "../../utils/databake", features = ["derive"], optional = true }

[dev-dependencies]
icu_benchmark_macros = { version = "0.7", path = "../../tools/benchmark/macros" }
criterion = "0.3.4"
iai = "0.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
postcard = { version = "1.0.0-alpha.4", features = ["use-std"] }
rand = "0.8"
rand_pcg = "0.3"
rand_distr = "0.4"
getrandom = { version = "0.2", features = ["js"] }
yoke = { version = "0.6.0", path = "../yoke", features = ["derive"] }
zerofrom = { version = "0.1.0", path = "../zerofrom", features = ["derive"] }

[features]
bench = []
std = []
derive = ["zerovec-derive"]

[[bench]]
name = "zerovec"
harness = false

[[bench]]
name = "zerovec_serde"
harness = false
required-features = ["serde"]

[[bench]]
name = "vzv"
harness = false

[[bench]]
name = "zerovec_iai"
harness = false

[[bench]]
name = "zeromap"
harness = false
required-features = ["serde"]

[[example]]
name = "zv_serde"
required-features = ["serde"]