[package]
edition = "2024"
rust-version = "1.85.1"
name = "either-both"
version = "1.0.0"
build = false
exclude = [
".editorconfig",
".github/",
".gitignore",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An enum similar to the well-known `Either`, but with a `Both` variant"
readme = "README.md"
keywords = ["no-std"]
categories = [
"data-structures",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/spenserblack/either-both"
[package.metadata.docs.rs]
features = ["either"]
[features]
default = ["std"]
either = ["dep:either"]
std = []
[lib]
name = "either_both"
path = "src/lib.rs"
[dependencies.either]
version = "1"
optional = true
default-features = false
[dev-dependencies.rstest]
version = "0.25"