-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
37 lines (33 loc) · 1.22 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
[package]
name = "woah"
version = "0.4.5"
description = """
A Result type that differentiates between local errors (which can be handled)
and fatal errors (which cannot)
"""
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.61.0"
categories = ["rust-patterns"]
keywords = ["result", "error-handling"]
repository = "https://github.com/alilleybrinker/woah"
documentation = "https://docs.rs/woah"
readme = "README.md"
[dependencies]
# Optional, provides methods that operate on both error variants.
either = { version = "1.6.1", default-features = false, optional = true }
# Optional, enables serialization and deserialization of `woah::Result`.
serde = { version = "1.0.137", optional = true }
[features]
# The most features with minimal build time / size impact.
default = ["either", "std"]
# Use types from the standard library. If `either` is enabled, turn on `std` for it.
std = ["either?/use_std"]
# Enable all nightly-only features of the crate. Enable only on a nightly Rust toolchain.
nightly = []
[dev-dependencies]
# Used in some example code.
rand = "0.8.5"
[package.metadata.docs.rs]
# Turn on all features on docs.rs (documentation explains which are nightly-only)
features = ['default', 'serde', 'nightly']