[package]
edition = "2024"
rust-version = "1.85"
name = "value-traits"
version = "0.2.1"
authors = [
"Tommaso Fontana <tommaso.fontana.96@gmail.com>",
"Sebastiano Vigna <sebastiano.vigna@unimi.it>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "By-value slices and iterators"
readme = "README.md"
categories = [
"rust-patterns",
"no-std",
]
license = "Apache-2.0 OR LGPL-2.1-or-later"
repository = "https://github.com/vigna/value-traits-rs/"
resolver = "2"
[features]
alloc = []
default = [
"std",
"derive",
]
derive = ["value-traits-derive"]
std = ["alloc"]
[lib]
name = "value_traits"
path = "src/lib.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "test_bounds"
path = "tests/test_bounds.rs"
[[test]]
name = "test_impls"
path = "tests/test_impls.rs"
[[test]]
name = "test_slices"
path = "tests/test_slices.rs"
[dependencies.value-traits-derive]
version = "0.2.1"
optional = true