feat(core/database): basic implementation of User and File models

This commit is contained in:
Paul Makles
2023-04-23 17:44:23 +01:00
parent 1933c9ea3d
commit e6d0d44c5a
13 changed files with 274 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ description = "Revolt Backend: Database Implementation"
[features]
# Databases
mongodb = [ "dep:mongodb" ]
mongodb = [ "dep:mongodb", "bson" ]
# ... Other
async-std-runtime = [ "async-std" ]
@@ -33,6 +33,7 @@ revolt_optional_struct = "0.2.0"
serde = { version = "1", features = ["derive"] }
# Database
bson = { optional = true, version = "2.1.0" }
mongodb = { optional = true, version = "2.1.0", default-features = false }
# Async Language Features