forked from emabee/flexi_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
55 lines (50 loc) · 1.81 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
[package]
name = "flexi_logger"
version = "0.18.0"
authors = ["emabee <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/emabee/flexi_logger"
documentation = "https://docs.rs/flexi_logger"
homepage = "https://crates.io/crates/flexi_logger"
description = """
An easy-to-configure and flexible logger that writes logs to stderr and/or to files. \
It allows custom logline formats, and it allows changing the log specification at runtime. \
It also allows defining additional log streams, e.g. for alert or security messages.\
"""
keywords = ["file", "logger"]
categories = ["development-tools::debugging"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["colors", "textfilter"]
async = ["crossbeam"]
colors = ["atty", "lazy_static","yansi"]
specfile = ["specfile_without_notification","notify"]
specfile_without_notification = ["serde","toml","serde_derive"]
syslog_writer = ["libc", "hostname"]
compress = ["flate2"]
textfilter = ["regex"]
[dependencies]
atty = {version = "0.2", optional = true}
chrono = "0.4"
crossbeam = {version = "0.8", optional = true}
glob = "0.3"
hostname = {version = "0.3", optional = true}
lazy_static = {version = "1.4", optional = true}
log = { version = "0.4", features = ["std"] }
notify = { version = "4.0", optional = true }
regex = { version = "1.1", optional = true }
serde = { version = "1.0", optional = true }
serde_derive = {version = "1.0", optional = true}
thiserror = "1.0"
toml = { version = "0.5", optional = true }
yansi = {version = "0.5", optional = true}
flate2 = {version = "1.0", optional = true}
[target.'cfg(linux)'.dependencies]
libc = {version = "^0.2.50", optional = true}
[dev-dependencies]
serde_derive = "1.0"
version-sync = "0.9"
#env_logger = '*' # optionally needed for the performance example