| 1 |
# This file is part of ICU4X. For terms of use, please see the file |
| 2 |
# called LICENSE at the top level of the ICU4X source tree |
| 3 |
# (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). |
| 4 |
|
| 5 |
[package] |
| 6 |
name = "yoke" |
| 7 |
description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from" |
| 8 |
version = "0.8.1" |
| 9 |
authors = ["Manish Goregaokar <[email protected]>"] |
| 10 |
categories = ["data-structures", "memory-management", "caching", "no-std"] |
| 11 |
keywords = ["zerocopy", "serialization", "lifetime", "borrow", "self-referential"] |
| 12 |
|
| 13 |
edition.workspace = true |
| 14 |
include.workspace = true |
| 15 |
license.workspace = true |
| 16 |
repository.workspace = true |
| 17 |
rust-version = "1.82" |
| 18 |
|
| 19 |
[package.metadata.workspaces] |
| 20 |
independent = true |
| 21 |
|
| 22 |
[features] |
| 23 |
default = ["alloc", "zerofrom"] |
| 24 |
derive = ["dep:yoke-derive", "zerofrom/derive"] |
| 25 |
alloc = ["stable_deref_trait/alloc", "zerofrom/alloc"] |
| 26 |
serde = [] |
| 27 |
zerofrom = ["dep:zerofrom"] |
| 28 |
|
| 29 |
[package.metadata.docs.rs] |
| 30 |
all-features = true |
| 31 |
|
| 32 |
[package.metadata.cargo-all-features] |
| 33 |
# We have tons of features here, limit the amount of tests we run |
| 34 |
max_combination_size = 3 |
| 35 |
|
| 36 |
[dependencies] |
| 37 |
stable_deref_trait = { workspace = true } |
| 38 |
|
| 39 |
yoke-derive = { workspace = true, optional = true } |
| 40 |
|
| 41 |
zerofrom = { workspace = true, optional = true} |
| 42 |
|
| 43 |
[dev-dependencies] |
| 44 |
bincode = { workspace = true } |
| 45 |
postcard = { workspace = true } |
| 46 |
serde = { workspace = true } |