forked from daboross/fern
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
78 lines (62 loc) · 1.97 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[package]
name = "fern"
# Remember to update html_root_url in src/lib.rs with each version.
version = "0.6.2"
authors = ["David Ross <daboross@daboross.net>"]
description = "Simple, efficient logging"
edition = "2018"
rust-version = "1.31"
documentation = "https://docs.rs/fern/"
repository = "https://github.com/daboross/fern"
readme = "README.md"
license = "MIT"
keywords = ["log", "logging", "logger"]
categories = ["development-tools::debugging"]
include = ["Cargo.toml", "src/**/*", "tests/**/*", "examples/**/*", "LICENSE", "README.md", "CONTRIBUTING.md", "CHANGELOG.md"]
[dependencies]
log = { version = "0.4", features = ["std"] }
colored = { version = "1.5", optional = true }
chrono = { version = "0.4", default-features = false, features = ["std", "clock"], optional = true }
[target."cfg(not(windows))".dependencies]
syslog3 = { version = "3", package = "syslog", optional = true }
syslog4 = { version = "4", package = "syslog", optional = true }
syslog6 = { version = "6", package = "syslog", optional = true }
reopen1 = { version = "~1", package = "reopen", features = ["signals"], optional = true }
reopen03 = { version = "^0.3", package = "reopen", optional = true }
libc = { version = "0.2.58", optional = true }
[features]
syslog-3 = ["syslog3"]
syslog-4 = ["syslog4"]
syslog-6 = ["syslog6"]
reopen-03 = ["reopen03", "libc"]
reopen-1 = ["reopen1", "libc"]
meta-logging-in-format = []
date-based = ["chrono"]
[dev-dependencies]
tempfile = "3"
clap = "2.22"
humantime = "2.1.0"
[[example]]
name = "cmd-program"
[[example]]
name = "date-based-file-log"
required-features = ["date-based"]
[[example]]
name = "colored"
required-features = ["colored"]
[[example]]
name = "pretty-colored"
required-features = ["colored"]
[[example]]
name = "syslog"
required-features = ["syslog-6"]
[[example]]
name = "syslog4"
required-features = ["syslog-4"]
[[example]]
name = "syslog3"
required-features = ["syslog-3"]
[[example]]
name = "meta-logging"
[package.metadata.docs.rs]
all-features = true