Debian Codegraph @

debian/rust-vendor/potential_utf/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 rust-version = "1.82"
15 name = "potential_utf"
16 version = "0.1.6"
17 authors = ["The ICU4X Project Developers"]
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 = "Unvalidated string and character types"
36 homepage = "https://icu4x.unicode.org"
37 readme = "README.md"
38 keywords = [
39 "text-processing",
40 "encoding",
41 ]
42 categories = [
43 "internationalization",
44 "localization",
45 "no-std",
46 "embedded",
47 ]
48 license = "Unicode-3.0"
49 repository = "https://github.com/unicode-org/icu4x"
50
51 [features]
52 alloc = [
53 "serde_core?/alloc",
54 "writeable/alloc",
55 "zerovec?/alloc",
56 ]
57 databake = ["dep:databake"]
58 default = ["alloc"]
59 serde = ["dep:serde_core"]
60 writeable = ["dep:writeable"]
61 zerovec = ["dep:zerovec"]
62
63 [lib]
64 name = "potential_utf"
65 path = "src/lib.rs"
66
67 [dependencies.databake]
68 version = "0.2.0"
69 optional = true
70 default-features = false
71
72 [dependencies.serde_core]
73 version = "1.0.220"
74 optional = true
75 default-features = false
76
77 [dependencies.writeable]
78 version = "0.6.4"
79 optional = true
80 default-features = false
81
82 [dependencies.zerovec]
83 version = "0.11.7"
84 optional = true
85 default-features = false
86
87 [dev-dependencies.bincode]
88 version = "1.3.1"
89
90 [dev-dependencies.serde_json]
91 version = "1.0.45"
92
93 [lints.clippy]
94 alloc_instead_of_core = "warn"
95 bool_assert_comparison = "allow"
96 branches_sharing_code = "warn"
97 collection_is_never_read = "warn"
98 crosspointer_transmute = "warn"
99 dbg_macro = "warn"
100 debug_assert_with_mut_call = "warn"
101 doc_markdown = "warn"
102 exhaustive_enums = "deny"
103 exhaustive_structs = "deny"
104 fn_to_numeric_cast_any = "warn"
105 infinite_loop = "warn"
106 large_stack_arrays = "warn"
107 mismatching_type_param_order = "warn"
108 missing_fields_in_debug = "warn"
109 missing_transmute_annotations = "warn"
110 negative_feature_names = "warn"
111 or_fun_call = "warn"
112 same_functions_in_if_condition = "warn"
113 todo = "warn"
114 transmute_bytes_to_str = "warn"
115 transmute_int_to_bool = "warn"
116 transmute_int_to_non_zero = "warn"
117 transmute_ptr_to_ptr = "warn"
118 transmute_ptr_to_ref = "warn"
119 transmute_undefined_repr = "warn"
120 transmutes_expressible_as_ptr_casts = "warn"
121 trivially_copy_pass_by_ref = "deny"
122 unnecessary_wraps = "warn"
123 useless_transmute = "warn"
124 wildcard_dependencies = "warn"
125
126 [lints.rust]
127 missing_debug_implementations = "deny"
128 trivial_numeric_casts = "deny"
129 unused_lifetimes = "warn"
130 unused_macro_rules = "warn"
131 unused_qualifications = "warn"
132
133 [lints.rust.unexpected_cfgs]
134 level = "warn"
135 priority = 0
136 check-cfg = [
137 "cfg(icu4c_enable_renaming)",
138 "cfg(needs_alloc_error_handler)",
139 "cfg(icu4x_nightly_tests)",
140 "cfg(icu4x_run_size_tests)",
141 "cfg(icu4x_unstable_fast_trie_only)",
142 ]