| 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] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.82" |
| 15 |
name = "yoke" |
| 16 |
version = "0.8.3" |
| 17 |
authors = ["Manish Goregaokar <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"data/**/*", |
| 21 |
"src/**/*", |
| 22 |
"examples/**/*", |
| 23 |
"benches/**/*", |
| 24 |
"tests/**/*", |
| 25 |
"Cargo.toml", |
| 26 |
"LICENSE", |
| 27 |
"README.md", |
| 28 |
"build.rs", |
| 29 |
] |
| 30 |
autolib = false |
| 31 |
autobins = false |
| 32 |
autoexamples = false |
| 33 |
autotests = false |
| 34 |
autobenches = false |
| 35 |
description = "Abstraction allowing borrowed data to be carried along with the backing data it borrows from" |
| 36 |
readme = "README.md" |
| 37 |
keywords = [ |
| 38 |
"zero-copy", |
| 39 |
"serialization", |
| 40 |
"memory-efficiency", |
| 41 |
"self-referential", |
| 42 |
] |
| 43 |
categories = [ |
| 44 |
"data-structures", |
| 45 |
"memory-management", |
| 46 |
"caching", |
| 47 |
"no-std", |
| 48 |
] |
| 49 |
license = "Unicode-3.0" |
| 50 |
repository = "https://github.com/unicode-org/icu4x" |
| 51 |
|
| 52 |
[package.metadata.workspaces] |
| 53 |
independent = true |
| 54 |
|
| 55 |
[package.metadata.docs.rs] |
| 56 |
all-features = true |
| 57 |
|
| 58 |
[package.metadata.cargo-all-features] |
| 59 |
max_combination_size = 3 |
| 60 |
|
| 61 |
[features] |
| 62 |
alloc = [ |
| 63 |
"stable_deref_trait/alloc", |
| 64 |
"zerofrom/alloc", |
| 65 |
] |
| 66 |
default = [ |
| 67 |
"alloc", |
| 68 |
"zerofrom", |
| 69 |
] |
| 70 |
derive = [ |
| 71 |
"dep:yoke-derive", |
| 72 |
"zerofrom/derive", |
| 73 |
] |
| 74 |
serde = [] |
| 75 |
zerofrom = ["dep:zerofrom"] |
| 76 |
|
| 77 |
[lib] |
| 78 |
name = "yoke" |
| 79 |
path = "src/lib.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "bincode" |
| 83 |
path = "tests/bincode.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "miri" |
| 87 |
path = "tests/miri.rs" |
| 88 |
|
| 89 |
[dependencies.stable_deref_trait] |
| 90 |
version = "1.2.0" |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dependencies.yoke-derive] |
| 94 |
version = "0.8.2" |
| 95 |
optional = true |
| 96 |
default-features = false |
| 97 |
|
| 98 |
[dependencies.zerofrom] |
| 99 |
version = "0.1.6" |
| 100 |
optional = true |
| 101 |
default-features = false |
| 102 |
|
| 103 |
[dev-dependencies.bincode] |
| 104 |
version = "1.3.1" |
| 105 |
|
| 106 |
[dev-dependencies.postcard] |
| 107 |
version = "1.0.3" |
| 108 |
default-features = false |
| 109 |
|
| 110 |
[dev-dependencies.serde] |
| 111 |
version = "1.0.220" |
| 112 |
default-features = false |
| 113 |
|
| 114 |
[lints.clippy] |
| 115 |
alloc-instead-of-core = "warn" |
| 116 |
bool-assert-comparison = "allow" |
| 117 |
branches-sharing-code = "warn" |
| 118 |
collection_is_never_read = "warn" |
| 119 |
crosspointer_transmute = "warn" |
| 120 |
dbg_macro = "warn" |
| 121 |
debug_assert_with_mut_call = "warn" |
| 122 |
doc_markdown = "warn" |
| 123 |
exhaustive_enums = "deny" |
| 124 |
exhaustive_structs = "deny" |
| 125 |
fn_to_numeric_cast_any = "warn" |
| 126 |
infinite_loop = "warn" |
| 127 |
large_stack_arrays = "warn" |
| 128 |
mismatching_type_param_order = "warn" |
| 129 |
missing_fields_in_debug = "warn" |
| 130 |
missing_transmute_annotations = "warn" |
| 131 |
negative_feature_names = "warn" |
| 132 |
or-fun-call = "warn" |
| 133 |
same_functions_in_if_condition = "warn" |
| 134 |
todo = "warn" |
| 135 |
transmute_bytes_to_str = "warn" |
| 136 |
transmute_int_to_bool = "warn" |
| 137 |
transmute_int_to_non_zero = "warn" |
| 138 |
transmute_ptr_to_ptr = "warn" |
| 139 |
transmute_ptr_to_ref = "warn" |
| 140 |
transmute_undefined_repr = "warn" |
| 141 |
transmutes_expressible_as_ptr_casts = "warn" |
| 142 |
trivially_copy_pass_by_ref = "deny" |
| 143 |
unnecessary-wraps = "warn" |
| 144 |
useless_transmute = "warn" |
| 145 |
wildcard_dependencies = "warn" |
| 146 |
|
| 147 |
[lints.rust] |
| 148 |
missing_debug_implementations = "deny" |
| 149 |
trivial_numeric_casts = "deny" |
| 150 |
unused_lifetimes = "warn" |
| 151 |
unused_macro_rules = "warn" |
| 152 |
unused_qualifications = "warn" |
| 153 |
|
| 154 |
[lints.rust.unexpected_cfgs] |
| 155 |
level = "warn" |
| 156 |
priority = 0 |
| 157 |
check-cfg = [ |
| 158 |
"cfg(icu4c_enable_renaming)", |
| 159 |
"cfg(needs_alloc_error_handler)", |
| 160 |
"cfg(icu4x_run_size_tests)", |
| 161 |
"cfg(icu4x_unstable_fast_trie_only)", |
| 162 |
] |