feat(models): basic rust impl

This commit is contained in:
alyssa 2024-12-28 21:08:26 +00:00
parent 0862964305
commit 3e194d7c8a
7 changed files with 479 additions and 2 deletions

13
lib/models/Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
[package]
name = "pluralkit_models"
version = "0.1.0"
edition = "2021"
[dependencies]
chrono = { workspace = true, features = ["serde"] }
model_macros = { path = "../model_macros" }
sea-query = "0.32.1"
serde = { workspace = true }
serde_json = { workspace = true, features = ["preserve_order"] }
sqlx = { workspace = true, default-features = false, features = ["chrono"] }
uuid = { workspace = true }