Compare commits

..

3 commits

Author SHA1 Message Date
7274be1d91
Db, first commit of work
This also touches atproto/src/lib.rs which may be a problem for the
rebase~

Adds migrations and all the other stuff.

Db, Commit two, everything is looking pretty

Db, add atproto error support

Db, rename spoor to direct, implement sessions

Db, add activity ingestor, fix type name

activity has its type name Authority instead of Uri for some reason? So
that is no longer an issue.

EVERYTHING IS STILL UNTESTED BABY~
2025-06-17 15:37:00 -07:00
c1b5b774d5
Atproto, add sqlx support
Moves sqlx to workspace so this touches DB and workspace
2025-06-17 15:35:22 -07:00
8195ded307
Atproto, types overhaul and error handling
Breaks off from Atrium-rs's types because they are implemented
inconsistently, which makes them harder to use.

This was done with reference to the atproto documentation but
specifically not the atrium-rs codebase so I wouldn't have to think
about licenses.

This adds the types and error module in atproto. It also touches
Cargo.toml for some new dependencies and some shared dependencies.

some things to keep in mind:
- There is no CID parsing
- None of this is tested, nor are there any tests written. We're playing
  fast and loose baby~
2025-06-17 15:26:57 -07:00

View file

@ -4,8 +4,9 @@ version = "0.1.0"
edition = "2024"
[dependencies]
thiserror = "2.0.12"
atproto.workspace = true
async-trait.workspace = true
atproto = { workspace = true, features = ["sqlx-support"] }
sqlx.workspace = true
thiserror.workspace = true
sqlx = { version = "0.8.6", features = ["postgres", "runtime-tokio"] }
tokio.workspace = true