[dependencies.chrono]
default-features = false
features = ["std", "clock"]
optional = true
version = "0.4"
[dependencies.colored]
optional = true
version = "2.1.0"
[dependencies.log]
features = ["std"]
version = "0.4"
[dev-dependencies.clap]
version = "2.22"
[dev-dependencies.humantime]
version = "2.1.0"
[dev-dependencies.tempfile]
version = "3"
[[example]]
name = "cmd-program"
path = "examples/cmd-program.rs"
[[example]]
name = "colored"
path = "examples/colored.rs"
required-features = ["colored"]
[[example]]
name = "date-based-file-log"
path = "examples/date-based-file-log.rs"
required-features = ["date-based"]
[[example]]
name = "meta-logging"
path = "examples/meta-logging.rs"
[[example]]
name = "pretty-colored"
path = "examples/pretty-colored.rs"
required-features = ["colored"]
[[example]]
name = "syslog"
path = "examples/syslog.rs"
required-features = ["syslog-6"]
[[example]]
name = "syslog3"
path = "examples/syslog3.rs"
required-features = ["syslog-3"]
[[example]]
name = "syslog4"
path = "examples/syslog4.rs"
required-features = ["syslog-4"]
[features]
date-based = ["chrono"]
meta-logging-in-format = []
reopen-03 = ["reopen03", "libc"]
reopen-1 = ["reopen1", "libc"]
syslog-3 = ["syslog3"]
syslog-4 = ["syslog4"]
syslog-6 = ["syslog6"]
[lib]
name = "fern"
path = "src/lib.rs"
[package]
authors = ["David Ross <daboross@daboross.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools::debugging"]
description = "Simple, efficient logging"
documentation = "https://docs.rs/fern/"
edition = "2018"
include = ["Cargo.toml", "src/**/*", "tests/**/*", "examples/**/*", "LICENSE", "README.md", "CONTRIBUTING.md", "CHANGELOG.md"]
keywords = ["log", "logging", "logger"]
license = "MIT"
name = "fern"
readme = "README.md"
repository = "https://github.com/daboross/fern"
rust-version = "1.60"
version = "0.7.0"
[package.metadata.docs.rs]
all-features = true
[target."cfg(not(windows))".dependencies.libc]
optional = true
version = "0.2.58"
[target."cfg(not(windows))".dependencies.reopen03]
optional = true
package = "reopen"
version = "^0.3"
[target."cfg(not(windows))".dependencies.reopen1]
features = ["signals"]
optional = true
package = "reopen"
version = "~1"
[target."cfg(not(windows))".dependencies.syslog3]
optional = true
package = "syslog"
version = "3"
[target."cfg(not(windows))".dependencies.syslog4]
optional = true
package = "syslog"
version = "4"
[target."cfg(not(windows))".dependencies.syslog6]
optional = true
package = "syslog"
version = "6"
[[test]]
name = "channel_logging"
path = "tests/channel_logging.rs"
[[test]]
name = "enabled_is_deep_check"
path = "tests/enabled_is_deep_check.rs"
[[test]]
name = "file_logging"
path = "tests/file_logging.rs"
[[test]]
name = "global_logging"
path = "tests/global_logging.rs"
[[test]]
name = "meta_logging"
path = "tests/meta_logging.rs"
[[test]]
name = "panic_logging"
path = "tests/panic_logging.rs"
[[test]]
name = "reopen_logging"
path = "tests/reopen_logging.rs"
[[test]]
name = "support"
path = "tests/support.rs"
[[test]]
name = "write_logging"
path = "tests/write_logging.rs"