yoke 0.7.3

Abstraction allowing borrowed data to be carried along with the backing data it borrows from
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 = "yoke"
description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from"
version = "0.7.3"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
categories = ["data-structures", "memory-management", "caching", "no-std"]
keywords = ["zerocopy", "serialization", "lifetime", "borrow", "self-referential"]
license-file = "LICENSE"

edition.workspace = true
include.workspace = true
repository.workspace = true
rust-version.workspace = true

[package.metadata.workspaces]
independent = true

[features]
default = ["alloc", "zerofrom"]
derive = ["dep:yoke-derive", "zerofrom/derive"]
alloc = ["stable_deref_trait/alloc", "serde?/alloc", "zerofrom/alloc"]
serde = ["dep:serde"]
zerofrom = ["dep:zerofrom"]

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

[package.metadata.cargo-all-features]
# We have tons of features here, limit the amount of tests we run
max_combination_size = 3

[dependencies]
stable_deref_trait = { version = "1.2.0", default-features = false }

yoke-derive = { workspace = true, optional = true }

serde = { version = "1.0", default-features = false, optional = true }
zerofrom = { workspace = true, default-features = false, optional = true}

[dev-dependencies]
bincode = "1.3.3"
serde = "1.0.125"