generated from al8n/template-rs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (35 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "among"
version = "0.1.7"
edition = "2018"
rust-version = "1.37"
license = "MIT OR Apache-2.0"
repository = "https://github.com/al8n/among"
homepage = "https://github.com/al8n/among"
documentation = "https://docs.rs/among"
description = """
The enum `Among` with variants `Left`, `Middle` and `Right` is a general purpose sum type with three cases.
"""
keywords = ["data-structure", "no_std", "either"]
categories = ["data-structures", "no-std"]
[features]
default = ["std"]
std = ["either?/use_std", "futures-io?/std"]
futures = ["futures-io"]
tokio = ["dep:tokio"]
[dependencies]
either = { version = "1", optional = true }
futures-io = { version = "0.3", optional = true, default-features = false }
tokio = { version = "1", optional = true, default-features = false, features = ["io-util"] }
serde = { version = "1", optional = true, features = ["derive"] }
[dev-dependencies]
serde_json = "1.0.0"
[package.metadata.release]
no-dev-version = true
tag-name = "{{version}}"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
features = ["serde", "futures", "either", "tokio"]
[package.metadata.playground]
features = ["serde", "futures", "either", "tokio"]