Debian Codegraph @

debian/rust-vendor/fixed_decimal/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 = "fixed_decimal"
16 version = "0.7.2"
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 = "An API for representing numbers in a human-readable form"
36 readme = "README.md"
37 keywords = [
38 "decimals",
39 "numbers",
40 ]
41 categories = [
42 "internationalization",
43 "localization",
44 "no-std",
45 "embedded",
46 ]
47 license = "Unicode-3.0"
48 repository = "https://github.com/unicode-org/icu4x"
49
50 [package.metadata.workspaces]
51 independent = true
52
53 [package.metadata.docs.rs]
54 all-features = true
55
56 [features]
57 ryu = ["dep:ryu"]
58
59 [lib]
60 name = "fixed_decimal"
61 path = "src/lib.rs"
62 bench = false
63
64 [[example]]
65 name = "permyriad"
66 path = "examples/permyriad.rs"
67
68 [[test]]
69 name = "rounding"
70 path = "tests/rounding.rs"
71
72 [[test]]
73 name = "signed_rounding"
74 path = "tests/signed_rounding.rs"
75
76 [[bench]]
77 name = "fixed_decimal"
78 path = "benches/fixed_decimal.rs"
79 harness = false
80
81 [dependencies.displaydoc]
82 version = "0.2.3"
83 default-features = false
84
85 [dependencies.ryu]
86 version = "1.0.5"
87 features = ["small"]
88 optional = true
89 default-features = false
90
91 [dependencies.smallvec]
92 version = "1.10.0"
93 features = ["const_new"]
94 default-features = false
95
96 [dependencies.writeable]
97 version = "0.6.1"
98 features = ["alloc"]
99 default-features = false
100
101 [dev-dependencies.getrandom]
102 version = "0.3"
103 features = ["wasm_js"]
104
105 [dev-dependencies.rand]
106 version = "0.9"
107
108 [dev-dependencies.rand_distr]
109 version = "0.5"
110
111 [dev-dependencies.rand_pcg]
112 version = "0.9"
113
114 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
115 version = "0.5.0"
116
117 [lints.clippy]
118 alloc-instead-of-core = "warn"
119 branches-sharing-code = "warn"
120 collection_is_never_read = "warn"
121 crosspointer_transmute = "warn"
122 dbg_macro = "warn"
123 debug_assert_with_mut_call = "warn"
124 doc_markdown = "warn"
125 exhaustive_enums = "deny"
126 exhaustive_structs = "deny"
127 fn_to_numeric_cast_any = "warn"
128 infinite_loop = "warn"
129 large_stack_arrays = "warn"
130 mismatching_type_param_order = "warn"
131 missing_fields_in_debug = "warn"
132 missing_transmute_annotations = "warn"
133 negative_feature_names = "warn"
134 or-fun-call = "warn"
135 same_functions_in_if_condition = "warn"
136 todo = "warn"
137 transmute_bytes_to_str = "warn"
138 transmute_int_to_bool = "warn"
139 transmute_int_to_non_zero = "warn"
140 transmute_ptr_to_ptr = "warn"
141 transmute_ptr_to_ref = "warn"
142 transmute_undefined_repr = "warn"
143 transmutes_expressible_as_ptr_casts = "warn"
144 trivially_copy_pass_by_ref = "deny"
145 unnecessary-wraps = "warn"
146 useless_transmute = "warn"
147 wildcard_dependencies = "warn"
148
149 [lints.rust]
150 missing_debug_implementations = "deny"
151 trivial_numeric_casts = "deny"
152 unused_lifetimes = "warn"
153 unused_macro_rules = "warn"
154 unused_qualifications = "warn"
155
156 [lints.rust.unexpected_cfgs]
157 level = "warn"
158 priority = 0
159 check-cfg = [
160 "cfg(icu4c_enable_renaming)",
161 "cfg(needs_alloc_error_handler)",
162 "cfg(icu4x_run_size_tests)",
163 "cfg(icu4x_unstable_fast_trie_only)",
164 ]