Debian Codegraph @

debian/rust-vendor/writeable/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 = "writeable"
16 version = "0.6.4"
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 = "A more efficient alternative to fmt::Display"
36 readme = "README.md"
37 keywords = [
38 "formatting",
39 "write",
40 "string",
41 "no-std",
42 ]
43 license = "Unicode-3.0"
44 repository = "https://github.com/unicode-org/icu4x"
45
46 [package.metadata.workspaces]
47 independent = true
48
49 [package.metadata.docs.rs]
50 all-features = true
51
52 [features]
53 alloc = []
54 default = ["alloc"]
55 either = ["dep:either"]
56
57 [lib]
58 name = "writeable"
59 path = "src/lib.rs"
60 bench = false
61
62 [[example]]
63 name = "writeable_message"
64 path = "examples/writeable_message.rs"
65
66 [[test]]
67 name = "writeable"
68 path = "tests/writeable.rs"
69
70 [[bench]]
71 name = "writeable"
72 path = "benches/writeable.rs"
73 harness = false
74
75 [dependencies.either]
76 version = "1.9.0"
77 optional = true
78 default-features = false
79
80 [dev-dependencies.rand]
81 version = "0.9"
82 features = ["small_rng"]
83
84 [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.criterion]
85 version = "0.5.0"
86
87 [lints.clippy]
88 alloc_instead_of_core = "warn"
89 bool_assert_comparison = "allow"
90 branches_sharing_code = "warn"
91 collection_is_never_read = "warn"
92 crosspointer_transmute = "warn"
93 dbg_macro = "warn"
94 debug_assert_with_mut_call = "warn"
95 doc_markdown = "warn"
96 exhaustive_enums = "deny"
97 exhaustive_structs = "deny"
98 fn_to_numeric_cast_any = "warn"
99 infinite_loop = "warn"
100 large_stack_arrays = "warn"
101 mismatching_type_param_order = "warn"
102 missing_fields_in_debug = "warn"
103 missing_transmute_annotations = "warn"
104 negative_feature_names = "warn"
105 or_fun_call = "warn"
106 same_functions_in_if_condition = "warn"
107 todo = "warn"
108 transmute_bytes_to_str = "warn"
109 transmute_int_to_bool = "warn"
110 transmute_int_to_non_zero = "warn"
111 transmute_ptr_to_ptr = "warn"
112 transmute_ptr_to_ref = "warn"
113 transmute_undefined_repr = "warn"
114 transmutes_expressible_as_ptr_casts = "warn"
115 trivially_copy_pass_by_ref = "deny"
116 unnecessary_wraps = "warn"
117 useless_transmute = "warn"
118 wildcard_dependencies = "warn"
119
120 [lints.rust]
121 missing_debug_implementations = "deny"
122 trivial_numeric_casts = "deny"
123 unused_lifetimes = "warn"
124 unused_macro_rules = "warn"
125 unused_qualifications = "warn"
126
127 [lints.rust.unexpected_cfgs]
128 level = "warn"
129 priority = 0
130 check-cfg = [
131 "cfg(icu4c_enable_renaming)",
132 "cfg(needs_alloc_error_handler)",
133 "cfg(icu4x_nightly_tests)",
134 "cfg(icu4x_run_size_tests)",
135 "cfg(icu4x_unstable_fast_trie_only)",
136 ]