idmap 0.3.7

Efficient maps of integer id keys to values, backed by an underlying `Vec`
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "idmap"
version = "0.3.7"
authors = ["Techcable <git@techcable.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Efficient maps of integer id keys to values, backed by an underlying `Vec`"
readme = "README.md"
keywords = [
    "idmap",
    "table",
    "id",
    "array",
    "map",
]
categories = [
    "data-structures",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DuckLogic/intid.rs"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
nightly = []
petgraph_0_8 = ["dep:petgraph_0_8"]
serde = ["dep:serde"]
std = []

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

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

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

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

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

[dependencies.fixedbitset]
version = "0.5"

[dependencies.intid]
version = "0.3.6"
package = "intid-core"

[dependencies.petgraph_0_8]
version = "0.8"
optional = true
package = "petgraph"

[dependencies.primint]
version = "0.1.4"
default-features = false

[dependencies.serde]
version = "1"
optional = true

[dev-dependencies.intid-derive]
version = "0.3.6"

[dev-dependencies.itertools]
version = "0.14"

[dev-dependencies.quickcheck]
version = "1"

[dev-dependencies.serde]
version = "1"

[dev-dependencies.serde_derive]
version = "1"

[dev-dependencies.serde_test]
version = "1"

[dev-dependencies.thiserror]
version = "2"

[lints.clippy]
alloc_instead_of_core = "deny"
cast_lossless = "allow"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_ptr_alignment = "deny"
cast_sign_loss = "deny"
char_lit_as_u8 = "deny"
fn_to_numeric_cast = "deny"
fn_to_numeric_cast_any = "deny"
fn_to_numeric_cast_with_truncation = "deny"
if_not_else = "allow"
items_after_statements = "allow"
missing_panics_doc = "allow"
multiple_unsafe_ops_per_block = "deny"
must_use_candidate = "allow"
needless_continue = "allow"
no_effect_underscore_binding = "allow"
ptr_as_ptr = "allow"
redundant_else = "allow"
redundant_test_prefix = "warn"
return_self_not_must_use = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"

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

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

[lints.rust]
missing_docs = "deny"
unsafe_op_in_unsafe_fn = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(intid_derive_use_expander)"]