forked from borntyping/rust-simple_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (31 loc) · 923 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
[package]
name = "simple_logger"
version = "1.15.0"
license = "MIT"
authors = ["Sam Clements <sam@borntyping.co.uk>"]
description = "A logger that prints all messages with a readable output format"
repository = "https://github.com/borntyping/rust-simple_logger"
edition = "2018"
[features]
default = ["colored", "time"]
colors = ["colored"]
threads = []
timestamps = ["time"]
nightly = []
stderr = []
[dependencies]
log = { version = "^0.4.5", features = ["std"] }
time = { version = "0.3.5", features = ["formatting", "local-offset", "macros"], optional = true }
colored = { version = "^1.6", optional = true }
[target.'cfg(windows)'.dependencies]
atty = "0.2.13"
winapi = { version = "0.3", features = ["handleapi", "winbase"]}
[[example]]
name = "colors"
required-features = ["colors"]
[[example]]
name = "threads"
required-features = ["threads"]
[[example]]
name = "timestamps"
required-features = ["timestamps"]