intid-core 0.3.4

Defines the IntegerId trait without a dependency on intid_derive
Documentation
[dependencies.bytemuck]
optional = true
version = "1"

[dependencies.nonmax]
optional = true
version = "0.5"

[dependencies.num-traits]
optional = true
version = "0.2"

[features]
bytemuck = ["dep:bytemuck"]
default = ["std"]
nightly = []
nonmax = ["dep:nonmax"]
num-traits = ["dep:num-traits"]
std = []

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

[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]
check-cfg = ["cfg(intid_derive_use_expander)"]
level = "warn"
priority = 0

[package]
authors = ["Techcable <git@techcable.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["no-std::no-alloc", "no-std", "rust-patterns", "data-structures"]
description = "Defines the IntegerId trait without a dependency on intid_derive"
edition = "2021"
keywords = ["intid", "id", "counter", "idmap", "integer"]
license = "MIT OR Apache-2.0"
name = "intid-core"
readme = "README.md"
repository = "https://github.com/DuckLogic/intid.rs"
rust-version = "1.65"
version = "0.3.4"

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

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