Commit graph

7 commits

Author SHA1 Message Date
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
3eb6aab10f
Cargo, moving async-trait and tokio (DB, Ingestor)
Move async-trait from ingestor to workspace so DB can share.

Update the reference to tokio in DB from version to workspace
2025-06-17 15:12:10 -07:00
eb28549a0f
Global, mono-binary to libraries and binaries
This separates the previous mono-binary setup into separate libraries
and binaries. Specifically it split the old since api/ingestor binary
into an Atproto, and DB library, as well as an api, and ingestor binary.

Atproto Lib
Was mostly untouched. The original URI implementation was changed to use
FromStr, otherwise only imports were changed.

DB Lib
Is mostly unused, so there wasn't much that needed to be changed. Some
new files were added so that future work on it can hit the ground
running.

Api Binary
Is almost entirely the same. Imports were changed and the ingestor code
of main was removed.

Ingestor Binary
Was almost entirely refactored. An interface to made injestors was
added, and it was modularized. The only shared code is in
Ingestor.start(), and collections.rs's macros, but that is mostly
boilerplate.
2025-06-06 09:39:15 -07:00
45acaaa601
Atproto, add uri struct and parsing 2025-05-22 14:01:53 -07:00
028219ded1
Jetstream, Tracing, basic ingestor + tracing
I'm mainly just commiting this so I can work on my laptop, but I'm too
tired to manage branches and then later rebasing things
2025-05-14 18:22:49 -07:00
49e7340c19
Src, move out of ./rust, add missing wip files
Moves file contents out of ./rust since I'm planning to go with rust for
the backend and the lexicons will be used for codegen soon anyways.

I also added extra files that have been in the works that I have been
accidentally sprinkling into main.rs already. God forbid I need to
cherry-pick anything from so far back in the history.

It will make git blame ugly though.
2025-05-07 16:47:11 -07:00
Renamed from rust/Cargo.toml (Browse further)