97e24d0d41
* Add record migration * Add database functions for inserting history No real tests yet :( I would like to avoid running postgres lol * Add index handler, use UUIDs not strings * Fix a bunch of tests, remove Option<Uuid> * Add tests, all passing * Working upload sync * Record downloading works * Sync download works * Don't waste requests * Use a page size for uploads, make it variable later * Aaaaaand they're encrypted now too * Add cek * Allow reading tail across hosts * Revert "Allow reading tail across hosts" Not like that This reverts commit 7b0c72e7e050c358172f9b53cbd21b9e44cf4931. * Handle multiple shards properly * format * Format and make clippy happy * use some fancy types (#1098) * use some fancy types * fmt * Goodbye horrible tuple * Update atuin-server-postgres/migrations/20230623070418_records.sql Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fmt * Sort tests too because time sucks * fix features --------- Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
22 lines
627 B
TOML
22 lines
627 B
TOML
[package]
|
|
name = "atuin-server-postgres"
|
|
edition = "2018"
|
|
description = "server postgres database library for atuin"
|
|
|
|
version = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
|
|
[dependencies]
|
|
atuin-common = { path = "../atuin-common", version = "15.0.0" }
|
|
atuin-server-database = { path = "../atuin-server-database", version = "15.0.0" }
|
|
|
|
tracing = "0.1"
|
|
chrono = { workspace = true }
|
|
serde = { workspace = true }
|
|
sqlx = { workspace = true }
|
|
async-trait = { workspace = true }
|
|
uuid = { workspace = true }
|
|
futures-util = "0.3"
|