Debian Codegraph @

debian/rust-vendor/zerovec-derive/Cargo.toml

raw
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 name = "zerovec-derive"
15 version = "0.11.6"
16 authors = ["Manish Goregaokar <[email protected]>"]
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "Custom derive for the zerovec crate"
24 readme = "README.md"
25 keywords = [
26 "macros",
27 "derive",
28 "serialization",
29 "zero-copy",
30 ]
31 categories = [
32 "rust-patterns",
33 "memory-management",
34 "caching",
35 "no-std",
36 "data-structures",
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 = "zerovec_derive"
46 path = "src/lib.rs"
47 proc-macro = true
48
49 [[example]]
50 name = "derives"
51 path = "examples/derives.rs"
52 test = true
53 harness = false
54
55 [[example]]
56 name = "make"
57 path = "examples/make.rs"
58 test = true
59 harness = false
60
61 [[example]]
62 name = "make_var"
63 path = "examples/make_var.rs"
64 test = true
65 harness = false
66
67 [[test]]
68 name = "derive_ule_test"
69 path = "tests/derive_ule_test.rs"
70
71 [[test]]
72 name = "make_varule_miri_test"
73 path = "tests/make_varule_miri_test.rs"
74
75 [[test]]
76 name = "sparse_enum_test"
77 path = "tests/sparse_enum_test.rs"
78
79 [dependencies.proc-macro2]
80 version = "1.0.61"
81
82 [dependencies.quote]
83 version = "1.0.44"
84
85 [dependencies.syn]
86 version = "3.0"
87 features = ["extra-traits"]
88
89 [dev-dependencies.bincode]
90 version = "1.3.1"
91
92 [dev-dependencies.serde]
93 version = "1.0.220"
94 features = ["derive"]
95 default-features = false
96
97 [dev-dependencies.serde_json]
98 version = "1.0.45"
99
100 [lints.clippy]
101 alloc_instead_of_core = "warn"
102 bool_assert_comparison = "allow"
103 branches_sharing_code = "warn"
104 collection_is_never_read = "warn"
105 crosspointer_transmute = "warn"
106 dbg_macro = "warn"
107 debug_assert_with_mut_call = "warn"
108 doc_markdown = "warn"
109 exhaustive_enums = "deny"
110 exhaustive_structs = "deny"
111 fn_to_numeric_cast_any = "warn"
112 infinite_loop = "warn"
113 large_stack_arrays = "warn"
114 mismatching_type_param_order = "warn"
115 missing_fields_in_debug = "warn"
116 missing_transmute_annotations = "warn"
117 negative_feature_names = "warn"
118 or_fun_call = "warn"
119 same_functions_in_if_condition = "warn"
120 todo = "warn"
121 transmute_bytes_to_str = "warn"
122 transmute_int_to_bool = "warn"
123 transmute_int_to_non_zero = "warn"
124 transmute_ptr_to_ptr = "warn"
125 transmute_ptr_to_ref = "warn"
126 transmute_undefined_repr = "warn"
127 transmutes_expressible_as_ptr_casts = "warn"
128 trivially_copy_pass_by_ref = "deny"
129 unnecessary_wraps = "warn"
130 useless_transmute = "warn"
131 wildcard_dependencies = "warn"
132
133 [lints.rust]
134 missing_debug_implementations = "deny"
135 trivial_numeric_casts = "deny"
136 unused_lifetimes = "warn"
137 unused_macro_rules = "warn"
138 unused_qualifications = "warn"
139
140 [lints.rust.unexpected_cfgs]
141 level = "warn"
142 priority = 0
143 check-cfg = [
144 "cfg(icu4c_enable_renaming)",
145 "cfg(needs_alloc_error_handler)",
146 "cfg(icu4x_nightly_tests)",
147 "cfg(icu4x_run_size_tests)",
148 "cfg(icu4x_unstable_fast_trie_only)",
149 ]