Adds a migration for an initial schema. Adds sqlx-cli to the flake
so that I use those migrations easily.
adds an UNTESTED "direct" interface, which should make writing ingestors
easier, and be very easy for spoor lexicons. It will probably also be
easy for other lexicons if they can fit into the Activity -> Session ->
Content interface.
Adds errors because I needed errors.
Since this is a library, and as you can see there are no tests, that
means that everything is *untested* which is fine because I want a MVP
not a stable app. For now.
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~