# 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 = "onechatsocial-database" version = "0.6.21" authors = ["Paul Makles "] description = "Revolt Backend: Database Implementation" license = "AGPL-3.0-or-later" [dependencies.async-lock] version = "2.8.0" [dependencies.async-recursion] version = "1.0.4" [dependencies.async-std] version = "1.8.0" features = ["attributes"] optional = true [dependencies.async-trait] version = "0.1.51" [dependencies.authifier] version = "1.0.8" [dependencies.base64] version = "0.21.3" [dependencies.bson] version = "2.1.0" optional = true [dependencies.deadqueue] version = "0.2.4" [dependencies.decancer] version = "1.6.2" [dependencies.fcm] version = "0.9.2" [dependencies.futures] version = "0.3.19" [dependencies.indexmap] version = "1.9.1" [dependencies.isahc] version = "1.7" features = ["json"] optional = true [dependencies.iso8601-timestamp] version = "0.2.10" features = [ "serde", "bson", ] [dependencies.linkify] version = "0.8.1" optional = true [dependencies.log] version = "0.4" [dependencies.lru] version = "0.11.0" [dependencies.mongodb] version = "2.1.0" optional = true default-features = false [dependencies.nanoid] version = "0.4.0" [dependencies.once_cell] version = "1.17" [dependencies.onechatsocial-config] version = "0.6.21" [dependencies.onechatsocial-models] version = "0.6.21" [dependencies.onechatsocial-permissions] version = "0.6.21" features = [ "serde", "bson", ] [dependencies.onechatsocial-presence] version = "0.6.21" [dependencies.onechatsocial-result] version = "0.6.21" [dependencies.rand] version = "0.8.5" [dependencies.redis-kiss] version = "0.1.4" [dependencies.regex] version = "1" [dependencies.revolt_okapi] version = "0.9.1" optional = true [dependencies.revolt_optional_struct] version = "0.2.0" [dependencies.revolt_rocket_okapi] version = "0.9.1" optional = true [dependencies.rocket] version = "0.5.0-rc.2" features = ["json"] optional = true default-features = false [dependencies.schemars] version = "0.8.8" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.ulid] version = "1.0.0" [dependencies.unicode-segmentation] version = "1.10.1" [dependencies.url-escape] version = "0.1.1" optional = true [dependencies.web-push] version = "0.10.0" [features] async-std-runtime = ["async-std"] default = [ "mongodb", "async-std-runtime", "tasks", ] mongodb = [ "dep:mongodb", "bson", ] redis-is-patched = ["onechatsocial-presence/redis-is-patched"] rocket-impl = [ "rocket", "schemars", "revolt_okapi", "revolt_rocket_okapi", ] tasks = [ "isahc", "linkify", "url-escape", ]