| 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.71.1" |
| 15 |
name = "zerofrom-derive" |
| 16 |
version = "0.1.8" |
| 17 |
authors = ["Manish Goregaokar <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Custom derive for the zerofrom crate" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"macros", |
| 28 |
"derive", |
| 29 |
"zero-copy", |
| 30 |
"serialization", |
| 31 |
] |
| 32 |
categories = [ |
| 33 |
"data-structures", |
| 34 |
"memory-management", |
| 35 |
"caching", |
| 36 |
"no-std", |
| 37 |
] |
| 38 |
license = "Unicode-3.0" |
| 39 |
repository = "https://github.com/unicode-org/icu4x" |
| 40 |
|
| 41 |
[package.metadata.workspaces] |
| 42 |
independent = true |
| 43 |
|
| 44 |
[lib] |
| 45 |
name = "zerofrom_derive" |
| 46 |
path = "src/lib.rs" |
| 47 |
proc-macro = true |
| 48 |
|
| 49 |
[[example]] |
| 50 |
name = "zf_derive" |
| 51 |
path = "examples/zf_derive.rs" |
| 52 |
|
| 53 |
[dependencies.proc-macro2] |
| 54 |
version = "1.0.61" |
| 55 |
|
| 56 |
[dependencies.quote] |
| 57 |
version = "1.0.44" |
| 58 |
|
| 59 |
[dependencies.syn] |
| 60 |
version = "3.0" |
| 61 |
features = [ |
| 62 |
"fold", |
| 63 |
"visit", |
| 64 |
] |
| 65 |
|
| 66 |
[dependencies.synstructure] |
| 67 |
version = "0.14.0" |
| 68 |
|
| 69 |
[dev-dependencies] |
| 70 |
|
| 71 |
[lints.clippy] |
| 72 |
alloc_instead_of_core = "warn" |
| 73 |
bool_assert_comparison = "allow" |
| 74 |
branches_sharing_code = "warn" |
| 75 |
collection_is_never_read = "warn" |
| 76 |
crosspointer_transmute = "warn" |
| 77 |
dbg_macro = "warn" |
| 78 |
debug_assert_with_mut_call = "warn" |
| 79 |
doc_markdown = "warn" |
| 80 |
exhaustive_enums = "deny" |
| 81 |
exhaustive_structs = "deny" |
| 82 |
fn_to_numeric_cast_any = "warn" |
| 83 |
infinite_loop = "warn" |
| 84 |
large_stack_arrays = "warn" |
| 85 |
mismatching_type_param_order = "warn" |
| 86 |
missing_fields_in_debug = "warn" |
| 87 |
missing_transmute_annotations = "warn" |
| 88 |
negative_feature_names = "warn" |
| 89 |
or_fun_call = "warn" |
| 90 |
same_functions_in_if_condition = "warn" |
| 91 |
todo = "warn" |
| 92 |
transmute_bytes_to_str = "warn" |
| 93 |
transmute_int_to_bool = "warn" |
| 94 |
transmute_int_to_non_zero = "warn" |
| 95 |
transmute_ptr_to_ptr = "warn" |
| 96 |
transmute_ptr_to_ref = "warn" |
| 97 |
transmute_undefined_repr = "warn" |
| 98 |
transmutes_expressible_as_ptr_casts = "warn" |
| 99 |
trivially_copy_pass_by_ref = "deny" |
| 100 |
unnecessary_wraps = "warn" |
| 101 |
useless_transmute = "warn" |
| 102 |
wildcard_dependencies = "warn" |
| 103 |
|
| 104 |
[lints.rust] |
| 105 |
missing_debug_implementations = "deny" |
| 106 |
trivial_numeric_casts = "deny" |
| 107 |
unused_lifetimes = "warn" |
| 108 |
unused_macro_rules = "warn" |
| 109 |
unused_qualifications = "warn" |
| 110 |
|
| 111 |
[lints.rust.unexpected_cfgs] |
| 112 |
level = "warn" |
| 113 |
priority = 0 |
| 114 |
check-cfg = [ |
| 115 |
"cfg(icu4c_enable_renaming)", |
| 116 |
"cfg(needs_alloc_error_handler)", |
| 117 |
"cfg(icu4x_nightly_tests)", |
| 118 |
"cfg(icu4x_run_size_tests)", |
| 119 |
"cfg(icu4x_unstable_fast_trie_only)", |
| 120 |
] |