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. It required thiserror, so I looped that into the workspace meaning that this commit touches db. 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~
11 lines
199 B
TOML
11 lines
199 B
TOML
[package]
|
|
name = "db"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
atproto.workspace = true
|
|
async-trait.workspace = true
|
|
sqlx.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|