summaryrefslogtreecommitdiffstats
path: root/third_party/rust/yoke/Cargo.toml
blob: 3ba3981fe6b286e8deff920e03625f834d3df003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# 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.3"
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-file = "LICENSE"
repository = "https://github.com/unicode-org/icu4x"

[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"
optional = true
default-features = false

[dependencies.stable_deref_trait]
version = "1.2.0"
default-features = false

[dependencies.yoke-derive]
version = "0.7.3"
optional = true
default-features = false

[dependencies.zerofrom]
version = "0.1.2"
optional = true
default-features = false

[dev-dependencies.bincode]
version = "1.3.3"

[dev-dependencies.serde]
version = "1.0.125"

[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"]