[package]
name = "yoke"
description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from"
version = "0.7.5"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
categories = ["data-structures", "memory-management", "caching", "no-std"]
keywords = ["zerocopy", "serialization", "lifetime", "borrow", "self-referential"]
edition.workspace = true
include.workspace = true
license.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]
max_combination_size = 3
[dependencies]
stable_deref_trait = { workspace = true }
yoke-derive = { workspace = true, optional = true }
serde = { workspace = true, optional = true }
zerofrom = { workspace = true, optional = true}
[dev-dependencies]
bincode = { workspace = true }
postcard = { workspace = true }
serde = { workspace = true }