linearize 0.1.6

Types that are enumerable and an array-backed map
Documentation
[package]
name = "linearize"
version = "0.1.6"
edition = "2021"
repository = "https://github.com/mahkoh/linearize"
license = "MIT OR Apache-2.0"
description = "Types that are enumerable and an array-backed map"
keywords = ["data-structure", "no_std", "enum"]
categories = ["data-structures", "no-std"]
readme = "../README.md"
rust-version = "1.83.0"

[features]
default = ["std"]
all = ["std", "alloc", "derive", "serde-1", "arbitrary-1", "bytemuck-1", "rand-0_8", "rand-0_9"]
std = ["alloc"]
alloc = ["rand-0_8?/alloc", "rand-0_9?/alloc"]
derive = ["dep:linearize-derive"]

serde-1 = ["dep:serde-1"]
arbitrary-1 = ["dep:arbitrary-1"]
bytemuck-1 = ["dep:bytemuck-1"]
rand-0_8 = ["dep:rand-0_8"]
rand-0_9 = ["dep:rand-0_9"]

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

[dependencies]
cfg-if = "1"
linearize-derive = { path = "../linearize-derive", version = "0.2.1", optional = true }
serde-1 = { package = "serde", version = "1", default-features = false, optional = true }
arbitrary-1 = { package = "arbitrary", version = "1.4", default-features = false, optional = true }
bytemuck-1 = { package = "bytemuck", version = "1.9", default-features = false, optional = true }
rand-0_8 = { package = "rand", version = "0.8.3", default-features = false, optional = true }
rand-0_9 = { package = "rand", version = "0.9", default-features = false, optional = true }

[build-dependencies]
version_check = "0.9.5"

[dev-dependencies]
static_assertions = "1.1.0"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(more_const_functions)'] }