[package]
edition = "2024"
rust-version = "1.85"
name = "array-reshape"
version = "0.2.0"
authors = ["Nazar Mokrynskyi <nazar@mokrynskyi.com>"]
build = false
include = [
"/src",
"/tests",
"/Cargo.toml",
"/CHANGELOG.md",
"/README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reshape arrays by value, by reference and by mutable reference in const fn"
readme = "README.md"
keywords = [
"array",
"reshape",
"flatten",
"const",
"no-std",
]
categories = [
"rust-patterns",
"no-std::no-alloc",
]
license = "0BSD"
repository = "https://github.com/nazar-pc/array-reshape"
[package.metadata.docs.rs]
all-features = true
[features]
const-trait = []
[lib]
name = "array_reshape"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[[test]]
name = "const_trait"
path = "tests/const_trait.rs"
[lints.clippy]
inline_always = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
rust_2018_idioms = "warn"
unreachable_pub = "warn"