[go: up one dir, main page]

typed-index-collections 3.2.3

Typed index version of Rust slice and Vec containers
Documentation
[badges.maintenance]
status = "passively-maintained"

[dependencies.serde]
default-features = false
optional = true
version = "1.0.210"

[dev-dependencies.derive_more]
features = ["from", "into"]
version = "1.0.0"

[dev-dependencies.readme-sync]
version = "0.3.0"

[dev-dependencies.serde_json]
version = "1.0.128"

[dev-dependencies.version-sync]
version = "0.9.5"

[features]
alloc = ["serde?/alloc"]
default = ["alloc", "std"]
serde = ["dep:serde"]
serde-alloc = ["alloc", "serde"]
serde-std = ["std", "serde"]
std = ["alloc", "serde?/std"]

[lib]
name = "typed_index_collections"
path = "src/lib.rs"

[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
as_conversions = "warn"
branches_sharing_code = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
debug_assert_with_mut_call = "warn"
decimal_literal_representation = "warn"
default_trait_access = "warn"
empty_line_after_outer_attr = "warn"
empty_structs_with_brackets = "warn"
error_impl_error = "warn"
exit = "warn"
fallible_impl_from = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
future_not_send = "warn"
get_unwrap = "warn"
if_then_some_else_none = "warn"
missing_const_for_fn = "warn"
missing_inline_in_public_items = "warn"
module_name_repetitions = "allow"
modulo_arithmetic = "warn"
multiple_inherent_impl = "warn"
mut_mut = "warn"
nonstandard_macro_braces = "warn"
option_if_let_else = "warn"
panic = "warn"
print_stderr = "warn"
rc_buffer = "warn"
redundant_pub_crate = "warn"
std_instead_of_core = "warn"
string_lit_as_bytes = "warn"
suboptimal_flops = "warn"
suspicious_operation_groupings = "warn"
todo = "warn"
trivial_regex = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unwrap_used = "warn"
use_self = "warn"
useless_let_if_seq = "warn"
verbose_file_reads = "warn"
wildcard_enum_match_arm = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
future_incompatible = "warn"
keyword_idents = "warn"
let_underscore = "warn"
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
refining_impl_trait = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[package]
authors = ["Andrey Zheleznov <zheland.net@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["data-structures", "no-std"]
description = "Typed index version of Rust slice and Vec containers"
documentation = "https://docs.rs/typed-index-collections"
edition = "2021"
keywords = ["collection", "index", "no_std", "slice", "vec"]
license = "MIT OR Apache-2.0"
name = "typed-index-collections"
readme = "README.md"
repository = "https://github.com/zheland/typed-index-collections"
rust-version = "1.81.0"
version = "3.2.3"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[[test]]
name = "readme"
path = "tests/readme.rs"

[[test]]
name = "version"
path = "tests/version.rs"