# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tracing-glog" version = "0.4.0" description = "a glog-inspired formatter for tracing-subscriber" homepage = "https://github.com/davidbarsky/tracing-glog" documentation = "https://docs.rs/tracing-glog" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/davidbarsky/tracing-glog" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[example]] name = "tokio" required-features = ["ansi"] [dependencies.chrono] version = "0.4.20" [dependencies.nu-ansi-term] version = "0.46" optional = true [dependencies.time] version = "0.3.9" features = ["formatting"] optional = true default-features = false [dependencies.tracing] version = "0.1" default-features = false [dependencies.tracing-log] version = "0.2" optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3.18" features = [ "std", "fmt", "registry", "chrono", ] default-features = false [dev-dependencies.anyhow] version = "1" [dev-dependencies.structopt] version = "0.3" [dev-dependencies.thiserror] version = "1" [dev-dependencies.tokio] version = "1.21" features = ["full"] [dev-dependencies.tracing] version = "0.1" [features] ansi = [ "nu-ansi-term", "tracing-subscriber/ansi", ] default = ["ansi"] local-time = [ "dep:time", "tracing-subscriber/local-time", ] time = [ "dep:time", "tracing-subscriber/time", ] tracing-log = ["dep:tracing-log"]