[package] name = "twyg" description = "A tiny logging setup for Rust applications" readme = "README.md" version = "0.4.1" license = "Apache-2.0" authors = ["Duncan McGreggor "] repository = "https://github.com/oxur/twyg" documentation = "https://docs.rs/twyg/" categories = ["development-tools", "value-formatting"] keywords = ["logging", "loggers", "formatting"] exclude = ["/.github", "/resources", ".gitignore"] edition = "2021" [lib] name = "twyg" [dependencies] anyhow = "1.0" chrono = { version = "0.4", default-features = false, features = ["clock"] } fern = { version = "0.6", features = ["colored"] } log = "0.4" owo-colors = { version = "4.0.0", features = ["supports-colors"] } serde = { version = "1.0", features = ["derive"] } [dev-dependencies] config = { version = "0.13.2", default-features = false, features = ["yaml"] } confyg = "0.2.0" [[example]] name = "colour-caller" [[example]] name = "no-caller" [[example]] name = "no-colour" [[example]] name = "from-config" [[example]] name = "from-confyg" [[example]] name = "stderr"