1 | [package] |
2 | name = "typed-index-collections" |
3 | version = "3.2.3" |
4 | authors = ["Andrey Zheleznov <zheland.net@gmail.com>" ] |
5 | edition = "2021" |
6 | rust-version = "1.81.0" |
7 | description = "Typed index version of Rust slice and Vec containers" |
8 | readme = "README.md" |
9 | repository = "https://github.com/zheland/typed-index-collections" |
10 | documentation = "https://docs.rs/typed-index-collections" |
11 | license = "MIT OR Apache-2.0" |
12 | categories = ["data-structures" , "no-std" ] |
13 | keywords = ["collection" , "index" , "no_std" , "slice" , "vec" ] |
14 | |
15 | [features] |
16 | default = ["alloc" , "std" ] |
17 | alloc = ["serde?/alloc" ] |
18 | std = ["alloc" , "serde?/std" ] |
19 | serde = ["dep:serde" ] |
20 | serde-alloc = ["alloc" , "serde" ] # Deprecated. |
21 | serde-std = ["std" , "serde" ] # Deprecated. |
22 | |
23 | [dependencies.serde] |
24 | version = "1.0.210" |
25 | default-features = false |
26 | optional = true |
27 | |
28 | [dev-dependencies] |
29 | derive_more.version = "1.0.0" |
30 | derive_more.features = ["from" , "into" ] |
31 | version-sync = "0.9.5" |
32 | serde_json = "1.0.128" |
33 | readme-sync = "0.3.0" |
34 | |
35 | [badges.maintenance] |
36 | status = "passively-maintained" |
37 | |
38 | [package.metadata.docs.rs] |
39 | all-features = true |
40 | rustdoc-args = ["--cfg" , "docsrs" ] |
41 | |
42 | [lints.rust] |
43 | rust_2018_idioms.level = "warn" |
44 | rust_2018_idioms.priority = -1 |
45 | future_incompatible = "warn" |
46 | keyword_idents = "warn" |
47 | let_underscore = "warn" |
48 | meta_variable_misuse = "warn" |
49 | missing_abi = "warn" |
50 | missing_copy_implementations = "warn" |
51 | missing_debug_implementations = "warn" |
52 | missing_docs = "warn" |
53 | non_ascii_idents = "warn" |
54 | refining_impl_trait = "warn" |
55 | single_use_lifetimes = "warn" |
56 | trivial_casts = "warn" |
57 | trivial_numeric_casts = "warn" |
58 | unused_crate_dependencies = "warn" |
59 | unused_extern_crates = "warn" |
60 | unused_import_braces = "warn" |
61 | unused_lifetimes = "warn" |
62 | unused_qualifications = "warn" |
63 | unused_results = "warn" |
64 | variant_size_differences = "warn" |
65 | |
66 | [lints.clippy] |
67 | all.level = "warn" |
68 | all.priority = -1 |
69 | pedantic.level = "warn" |
70 | pedantic.priority = -1 |
71 | alloc_instead_of_core = "warn" |
72 | allow_attributes = "warn" |
73 | allow_attributes_without_reason = "warn" |
74 | arithmetic_side_effects = "warn" |
75 | as_conversions = "warn" |
76 | branches_sharing_code = "warn" |
77 | clone_on_ref_ptr = "warn" |
78 | dbg_macro = "warn" |
79 | debug_assert_with_mut_call = "warn" |
80 | decimal_literal_representation = "warn" |
81 | default_trait_access = "warn" |
82 | empty_line_after_outer_attr = "warn" |
83 | empty_structs_with_brackets = "warn" |
84 | error_impl_error = "warn" |
85 | exit = "warn" |
86 | fallible_impl_from = "warn" |
87 | filetype_is_file = "warn" |
88 | float_cmp_const = "warn" |
89 | future_not_send = "warn" |
90 | get_unwrap = "warn" |
91 | if_then_some_else_none = "warn" |
92 | missing_const_for_fn = "warn" |
93 | missing_inline_in_public_items = "warn" |
94 | modulo_arithmetic = "warn" |
95 | multiple_inherent_impl = "warn" |
96 | mut_mut = "warn" |
97 | nonstandard_macro_braces = "warn" |
98 | option_if_let_else = "warn" |
99 | panic = "warn" |
100 | print_stderr = "warn" |
101 | rc_buffer = "warn" |
102 | redundant_pub_crate = "warn" |
103 | std_instead_of_core = "warn" |
104 | string_lit_as_bytes = "warn" |
105 | suboptimal_flops = "warn" |
106 | suspicious_operation_groupings = "warn" |
107 | todo = "warn" |
108 | trivial_regex = "warn" |
109 | try_err = "warn" |
110 | undocumented_unsafe_blocks = "warn" |
111 | unimplemented = "warn" |
112 | unwrap_used = "warn" |
113 | use_self = "warn" |
114 | useless_let_if_seq = "warn" |
115 | verbose_file_reads = "warn" |
116 | wildcard_enum_match_arm = "warn" |
117 | module_name_repetitions = "allow" # items are re-exported to the crate root |
118 | |