intid 0.3.7

Defines the IntegerId trait
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 = "intid"
version = "0.3.7"
authors = ["Techcable <git@techcable.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Defines the IntegerId trait"
readme = "README.md"
keywords = [
    "intid",
    "id",
    "counter",
    "idmap",
    "integer",
]
categories = [
    "no-std::no-alloc",
    "no-std",
    "rust-patterns",
    "data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DuckLogic/intid.rs"

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

[features]
bytemuck = ["intid-core/bytemuck"]
default = []
derive = ["dep:intid-derive"]
nonmax = ["intid-core/nonmax"]
num-traits = ["intid-core/num-traits"]
primint-nonmax = ["intid-core/primint-nonmax"]
primint-nonzero = ["intid-core/primint-nonzero"]

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

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

[dependencies.intid-derive]
version = "0.3.6"
optional = true

[dev-dependencies.idmap]
version = "0.3.6"

[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)"]