[package]
edition = "2024"
name = "const-tools"
version = "0.1.2"
authors = ["Mick van Gelderen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Utilities to help write safe const fns such as destructuring and array operations."
readme = "README.md"
keywords = [
"const",
"array",
"map",
"zip",
"destructure",
]
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/mickvangelderen/const-tools"
[lib]
name = "const_tools"
path = "src/lib.rs"
[[example]]
name = "destructure_tuple"
path = "examples/destructure_tuple.rs"
[[example]]
name = "wrap_all"
path = "examples/wrap_all.rs"
[[test]]
name = "compile_fail_tests"
path = "tests/compile_fail_tests.rs"
[[test]]
name = "destructure"
path = "tests/destructure.rs"
[[test]]
name = "fold"
path = "tests/fold.rs"
[[test]]
name = "from_indices"
path = "tests/from_indices.rs"
[[test]]
name = "map"
path = "tests/map.rs"
[[test]]
name = "scan"
path = "tests/scan.rs"
[[test]]
name = "unzip"
path = "tests/unzip.rs"
[[test]]
name = "zip"
path = "tests/zip.rs"
[dependencies]
[dev-dependencies.trybuild]
version = "1.0.111"