[package] name = "outlog" description = "A simple logging system based on the log crate." version = "0.1.0" authors = ["Luna Catkins "] edition = "2018" license = "MPL-2.0" readme = "README.md" repository = "https://gitdab.com/LunarLambda/outlog" [package.metadata.docs.rs] all-features = true [features] default = ["color"] all = ["chrono", "color", "panic", "config-serde"] color = ["atty"] panic = [] # It is currently impossible to name this feature 'serde' without significant workarounds. # When namespaced-features goes stable, this will be fixed. # Keep an eye on https://github.com/rust-lang/cargo/issues/5565 config-serde = ["serde", "log/serde"] [dependencies] log = { version = "0.4", features = ["std"] } atty = { version = "0.2", optional = true } chrono = { version = "0.4", optional = true } serde = { version = "1.0", optional = true, features = ["derive"] }