40 lines
879 B
TOML
40 lines
879 B
TOML
[package]
|
|
name = "either"
|
|
version = "1.17.0"
|
|
edition = "2021"
|
|
rust-version = "1.63.0"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/rayon-rs/either"
|
|
documentation = "https://docs.rs/either/1/"
|
|
readme = "README-crates.io.md"
|
|
|
|
description = """
|
|
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
|
|
"""
|
|
|
|
keywords = ["data-structure", "no_std"]
|
|
categories = ["data-structures", "no-std"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0.95", optional = true, default-features = false, features = ["alloc", "derive"] }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = []
|
|
use_std = ["std"] # deprecated alias
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0.0"
|
|
|
|
[package.metadata.release]
|
|
allow-branch = ["main"]
|
|
sign-tag = true
|
|
tag-name = "{{version}}"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["serde"]
|
|
|
|
[package.metadata.playground]
|
|
features = ["serde"]
|