feat(core/models): implement Bot and PublicBot

This commit is contained in:
Paul Makles
2023-04-22 17:55:30 +01:00
parent 8b30dddc06
commit 11a87263be
3 changed files with 144 additions and 0 deletions

View File

@@ -5,4 +5,19 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
serde = [ "dep:serde" ]
schemas = [ "dep:schemars" ]
from_database = [ "revolt-database" ]
default = [ "serde", "from_database" ]
[dependencies]
# Repo
revolt-database = { path = "../database", optional = true }
# Serialisation
serde = { version = "1", features = ["derive"], optional = true }
# Spec Generation
schemars = { version = "0.8.8", optional = true }