# 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 = "db_logger" version = "0.1.0" authors = ["Julio Merino "] description = "A database-backed logger for use with the log crate" readme = "README.md" keywords = [ "database", "log", ] categories = ["debugging"] license = "Apache-2.0" repository = "https://github.com/jmmv/db_logger" [dependencies.async-trait] version = "0.1" [dependencies.futures] version = "0.3" [dependencies.gethostname] version = "0.2" [dependencies.log] version = "0.4" [dependencies.rand] version = "0.8" [dependencies.sqlx] version = "0.5" features = [ "runtime-async-std-rustls", "time", ] [dependencies.time] version = "0.2.16" [dependencies.tokio] version = "1" [dev-dependencies.env_logger] version = "0.8" [dev-dependencies.regex] version = "1" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = [ "macros", "rt", "rt-multi-thread", "sync", "time", ] [features] default = [ "postgres", "sqlite", ] postgres = ["sqlx/postgres"] sqlite = ["sqlx/sqlite"]