# 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 = "2018" name = "simple_logger" version = "5.2.0" authors = ["Sam Clements "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "A logger that prints all messages with a readable output format" readme = "README.md" license = "MIT" repository = "https://github.com/borntyping/rust-simple_logger" [features] colors = ["dep:colored"] default = [ "colors", "timestamps", ] nightly = [] stderr = [] threads = [] timestamps = ["time"] [lib] name = "simple_logger" path = "src/lib.rs" [[example]] name = "colors" path = "examples/colors.rs" required-features = ["colors"] [[example]] name = "flush" path = "examples/flush.rs" [[example]] name = "init" path = "examples/init.rs" [[example]] name = "init_with_env" path = "examples/init_with_env.rs" [[example]] name = "init_with_level" path = "examples/init_with_level.rs" [[example]] name = "init_with_target_level" path = "examples/init_with_target_level.rs" [[example]] name = "stderr" path = "examples/stderr.rs" required-features = [ "colors", "stderr", ] [[example]] name = "threads" path = "examples/threads.rs" required-features = ["threads"] [[example]] name = "timestamps_format" path = "examples/timestamps_format.rs" required-features = ["timestamps"] [[example]] name = "timestamps_local" path = "examples/timestamps_local.rs" required-features = ["timestamps"] [[example]] name = "timestamps_none" path = "examples/timestamps_none.rs" required-features = ["timestamps"] [[example]] name = "timestamps_utc" path = "examples/timestamps_utc.rs" required-features = ["timestamps"] [[example]] name = "timestamps_utc_offset" path = "examples/timestamps_utc_offset.rs" required-features = ["timestamps"] [[example]] name = "wrap" path = "examples/wrap.rs" [dependencies.colored] version = "^3.0.0" optional = true [dependencies.log] version = "^0.4.28" features = ["std"] [dependencies.time] version = "^0.3.47" features = [ "formatting", "local-offset", "macros", ] optional = true