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

This commit is contained in:
Paul Makles
2023-04-23 17:44:36 +01:00
parent e6d0d44c5a
commit f8c8407af3
10 changed files with 387 additions and 50 deletions

View File

@@ -11,13 +11,14 @@ description = "Revolt Backend: API Models"
[features]
serde = [ "dep:serde" ]
schemas = [ "dep:schemars" ]
from_database = [ "revolt-database" ]
from_database = [ "revolt-database", "revolt-presence" ]
default = [ "serde", "from_database" ]
[dependencies]
# Repo
revolt-database = { version = "0.0.1", path = "../database", optional = true }
revolt-presence = { version = "0.0.1", path = "../presence", optional = true }
# Serialisation
serde = { version = "1", features = ["derive"], optional = true }