-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (37 loc) · 985 Bytes
/
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
[package]
name = "label-logger"
version = "0.2.1"
edition = "2021"
description = "Cargo-like logging library"
authors = ["Milo Moisson <[email protected]>"]
repository = "https://github.com/mrnossiom/label-logger"
license = "CECILL-2.1"
keywords = ["label", "pretty-logs", "cargo"]
categories = ["rendering"]
[dependencies]
console = "0.15.5"
dialoguer = { version = "0.10.4", optional = true }
indicatif = { version = "0.17.3", optional = true }
once_cell = "1.17.1"
term_size = "0.3.2"
[features]
default = []
dialoguer = ["dep:dialoguer"]
indicatif = ["dep:indicatif"]
[dev-dependencies]
rand = "0.8.5"
[lints]
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# cargo = { level = "warn", priority = -1 }
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "indicatif"
required-features = ["indicatif"]
[[example]]
name = "dialoguer"
required-features = ["dialoguer"]