50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
# 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.8.3"
|
|
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
|
|
categories = ["data-structures", "memory-management", "caching", "no-std"]
|
|
keywords = ["zero-copy", "serialization", "memory-efficiency", "self-referential"]
|
|
|
|
edition = "2021"
|
|
include.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version = "1.82"
|
|
|
|
[package.metadata.workspaces]
|
|
independent = true
|
|
|
|
[features]
|
|
default = ["alloc", "zerofrom"]
|
|
derive = ["dep:yoke-derive", "zerofrom/derive"]
|
|
alloc = ["stable_deref_trait/alloc", "zerofrom/alloc"]
|
|
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 = { workspace = true }
|
|
|
|
yoke-derive = { workspace = true, optional = true }
|
|
|
|
zerofrom = { workspace = true, optional = true}
|
|
|
|
[dev-dependencies]
|
|
bincode = { workspace = true }
|
|
postcard = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|