# 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 = "fercord_storage" version = "0.3.6" authors = ["Jonas Van der Aa "] build = false include = [ "src/**/*.rs", "*.md", "Cargo.toml", "migrations/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Storage crate for Fercord" readme = "README.md" keywords = [ "discord", "bot", ] license = "GPL-3.0-or-later" repository = "https://github.com/kekonn/fercord" [lib] name = "fercord_storage" path = "src/lib.rs" [dependencies.anyhow] version = "1" features = ["backtrace"] [dependencies.async-trait] version = "0.1" [dependencies.chrono] version = "0.4" [dependencies.chrono-tz] version = "0.10" [dependencies.fercord_common] version = "0.1" [dependencies.poise] version = "0.6" [dependencies.redis] version = "0.27" features = [ "tokio-comp", "json", ] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sqlx-oldapi] version = "0.6" features = [ "default", "chrono", "runtime-tokio-native-tls", "any", ] [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "time", ] [dependencies.tokio-stream] version = "0.1" [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = [ "default", "env-filter", ] [dependencies.uuid] version = "1" features = [ "v4", "fast-rng", "macro-diagnostics", "serde", ] [features] default = ["sqlite"] postgres = ["sqlx-oldapi/postgres"] sqlite = ["sqlx-oldapi/sqlite"]