-
Notifications
You must be signed in to change notification settings - Fork 48
/
Cargo.toml
56 lines (45 loc) · 1.29 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
54
55
56
[package]
name = "simple_logger"
version = "5.0.0"
license = "MIT"
authors = ["Sam Clements <[email protected]>"]
description = "A logger that prints all messages with a readable output format"
repository = "https://github.com/borntyping/rust-simple_logger"
edition = "2018"
[features]
default = ["colors", "timestamps"]
colors = ["colored"]
threads = []
timestamps = ["time"]
nightly = []
stderr = []
[dependencies]
log = { version = "^0.4.17", features = ["std"] }
time = { version = "^0.3.16", features = ["formatting", "local-offset", "macros"], optional = true }
colored = { version = "2", optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "^0.48.0", features = ["Win32_System_Console", "Win32_Foundation"] }
[[example]]
name = "colors"
required-features = ["colors"]
[[example]]
name = "stderr"
required-features = ["colors", "stderr"]
[[example]]
name = "threads"
required-features = ["threads"]
[[example]]
name = "timestamps_local"
required-features = ["timestamps"]
[[example]]
name = "timestamps_none"
required-features = ["timestamps"]
[[example]]
name = "timestamps_utc"
required-features = ["timestamps"]
[[example]]
name = "timestamps_utc_offset"
required-features = ["timestamps"]
[[example]]
name = "timestamps_format"
required-features = ["timestamps"]