Source code
Revision control
Copy as Markdown
Other Tools
# 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.67"
name = "yoke"
version = "0.7.4"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
include = [
"data/**/*",
"src/**/*",
"examples/**/*",
"benches/**/*",
"tests/**/*",
"Cargo.toml",
"LICENSE",
"README.md",
]
description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from"
readme = "README.md"
keywords = [
"zerocopy",
"serialization",
"lifetime",
"borrow",
"self-referential",
]
categories = [
"data-structures",
"memory-management",
"caching",
"no-std",
]
license = "Unicode-3.0"
[package.metadata.cargo-all-features]
max_combination_size = 3
[package.metadata.docs.rs]
all-features = true
[package.metadata.workspaces]
independent = true
[dependencies.serde]
version = "1.0.110"
optional = true
default-features = false
[dependencies.stable_deref_trait]
version = "1.2.0"
default-features = false
[dependencies.yoke-derive]
version = "0.7.4"
optional = true
default-features = false
[dependencies.zerofrom]
version = "0.1.3"
optional = true
default-features = false
[dev-dependencies.bincode]
version = "1.3.1"
[dev-dependencies.postcard]
version = "1.0.1"
default-features = false
[dev-dependencies.serde]
version = "1.0.110"
default-features = false
[features]
alloc = [
"stable_deref_trait/alloc",
"serde?/alloc",
"zerofrom/alloc",
]
default = [
"alloc",
"zerofrom",
]
derive = [
"dep:yoke-derive",
"zerofrom/derive",
]
serde = ["dep:serde"]
zerofrom = ["dep:zerofrom"]