# 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 = "error_log" version = "0.1.3" authors = ["LeSnake04"] description = "Simple, struct-based Error-Handling" readme = "README.md" keywords = [ "error-handling", "error", "log", ] categories = [ "no-std", "rust-patterns", ] license = " Apache-2.0" repository = "https://github.com/LeSnake04/error_log" resolver = "2" [[example]] name = "async" required-features = ["anyhow"] [[example]] name = "anyhow" required-features = ["anyhow"] [dependencies.anyhow] version = "1.0.70" optional = true [dependencies.libc-print] version = "0.1.21" [dependencies.log] version = "0.4.17" default-features = false [dependencies.native-dialog] version = "0.6.3" optional = true [dependencies.time] version = "0.3.20" features = ["formatting"] optional = true [dev-dependencies.anyhow] version = "1.0.70" [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.native-dialog] version = "0.6.3" [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.tokio] version = "1.27.0" features = ["full"] [features] anyhow = [ "dep:anyhow", "errors", ] default = [ "std", "default-no-std", ] default-no-std = [ "helper-traits", "instant-display", "messages", "errors", ] errors = [] helper-traits = ["errors"] instant-display = [] messages = [] native-dialog = [ "dep:native-dialog", "std", ] std = ["time"]