[package]
edition = "2024"
name = "index_type"
version = "0.4.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe newtype indices for Rust"
readme = "README.md"
keywords = [
"index",
"typed",
"collection",
"safe",
]
categories = [
"rust-patterns",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/roeeshoshani/index_type"
[features]
alloc = []
default = ["alloc"]
[lib]
name = "index_type"
path = "src/lib.rs"
[[test]]
name = "index_types"
path = "tests/index_types.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "typed_array"
path = "tests/typed_array.rs"
[[test]]
name = "typed_array_vec"
path = "tests/typed_array_vec.rs"
[[test]]
name = "typed_enumerate"
path = "tests/typed_enumerate.rs"
[[test]]
name = "typed_range"
path = "tests/typed_range.rs"
[[test]]
name = "typed_slice"
path = "tests/typed_slice.rs"
[[test]]
name = "typed_vec"
path = "tests/typed_vec.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[dependencies.index_type_macros]
version = "0.4.0"
[dev-dependencies.trybuild]
version = "1.0"