• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2021"
14rust-version = "1.71.1"
15name = "yoke"
16version = "0.7.5"
17authors = ["Manish Goregaokar <manishsmail@gmail.com>"]
18build = false
19include = [
20    "data/**/*",
21    "src/**/*",
22    "examples/**/*",
23    "benches/**/*",
24    "tests/**/*",
25    "Cargo.toml",
26    "LICENSE",
27    "README.md",
28]
29autobins = false
30autoexamples = false
31autotests = false
32autobenches = false
33description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from"
34readme = "README.md"
35keywords = [
36    "zerocopy",
37    "serialization",
38    "lifetime",
39    "borrow",
40    "self-referential",
41]
42categories = [
43    "data-structures",
44    "memory-management",
45    "caching",
46    "no-std",
47]
48license = "Unicode-3.0"
49repository = "https://github.com/unicode-org/icu4x"
50
51[package.metadata.cargo-all-features]
52max_combination_size = 3
53
54[package.metadata.docs.rs]
55all-features = true
56
57[package.metadata.workspaces]
58independent = true
59
60[lib]
61name = "yoke"
62path = "src/lib.rs"
63
64[[test]]
65name = "bincode"
66path = "tests/bincode.rs"
67
68[[test]]
69name = "miri"
70path = "tests/miri.rs"
71
72[dependencies.serde]
73version = "1.0.110"
74optional = true
75default-features = false
76
77[dependencies.stable_deref_trait]
78version = "1.2.0"
79default-features = false
80
81[dependencies.yoke-derive]
82version = "0.7.5"
83optional = true
84default-features = false
85
86[dependencies.zerofrom]
87version = "0.1.3"
88optional = true
89default-features = false
90
91[dev-dependencies.bincode]
92version = "1.3.1"
93
94[dev-dependencies.postcard]
95version = "1.0.1"
96default-features = false
97
98[dev-dependencies.serde]
99version = "1.0.110"
100default-features = false
101
102[features]
103alloc = [
104    "stable_deref_trait/alloc",
105    "serde?/alloc",
106    "zerofrom/alloc",
107]
108default = [
109    "alloc",
110    "zerofrom",
111]
112derive = [
113    "dep:yoke-derive",
114    "zerofrom/derive",
115]
116serde = ["dep:serde"]
117zerofrom = ["dep:zerofrom"]
118