Atproto, serde deserialize & move strong_ref

This adds Serde deserialization. It also needs to add an error for
handling the failure on these deserializations.

I broke strong_ref into its own file because it was starting to grow a
lot.
This commit is contained in:
Julia Lange 2025-07-02 10:47:26 -07:00
parent 34719e7d01
commit 5bc903b2fa
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
11 changed files with 194 additions and 54 deletions

View file

@ -7,7 +7,7 @@ async-trait = "0.1.88"
atproto = { path = "./atproto" }
db = { path = "./db" }
router = { path = "./router" }
serde = "1.0.219"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio"] }
thiserror = "2.0.12"