-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (46 loc) · 1.17 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
44
45
46
47
48
49
50
51
52
53
[package]
name = "narrate"
version = "0.4.2"
authors = ["Christopher Morton <sonro@gmx.com>"]
edition = "2021"
description = "narrate is a set of CLI app utilities for error handling and status reporting"
repository = "https://github.com/sonro/narrate"
license = "MIT/Apache-2.0"
readme = "README.md"
rust-version = "1.70.0"
[features]
default = ["cli-error", "error", "report"]
cli-error = ["dep:exitcode"]
error = ["anyhow"]
report = ["anyhow", "dep:atty", "dep:colored"]
anyhow = ["dep:anyhow"]
[dependencies]
anyhow = { version = "1.0.86", optional = true }
atty = { version = "0.2.14", optional = true }
colored = { version = "2.1.0", optional = true }
exitcode = { version = "1.1.2", optional = true }
[[bin]]
name = "report_err_full_test"
doc = false
test = false
required-features = ["error", "report"]
[[bin]]
name = "report_err_test"
doc = false
test = false
required-features = ["error", "report"]
[[bin]]
name = "report_anyhow_err_full_test"
doc = false
test = false
required-features = ["report"]
[[bin]]
name = "report_anyhow_err_test"
doc = false
test = false
required-features = ["report"]
[[bin]]
name = "status_test"
doc = false
test = false
required-features = ["report"]