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