mirror of
https://gitee.com/openharmony/third_party_rust_either
synced 2024-11-23 06:59:40 +00:00
36 lines
756 B
TOML
36 lines
756 B
TOML
[package]
|
|
name = "either"
|
|
version = "1.8.1"
|
|
authors = ["bluss"]
|
|
edition = "2018"
|
|
rust-version = "1.36"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/bluss/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", optional = true, features = ["derive"] }
|
|
|
|
[features]
|
|
default = ["use_std"]
|
|
use_std = []
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0.0"
|
|
|
|
[package.metadata.release]
|
|
no-dev-version = true
|
|
tag-name = "{{version}}"
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["serde"]
|