Postgres example storage

This commit is contained in:
Igor Katson 2024-08-15 13:31:56 +01:00
parent 9d394116c0
commit f22814c77b
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 748 additions and 24 deletions

View file

@ -21,6 +21,7 @@ storage_middleware = ["lru"]
storage_examples = []
[dependencies]
sqlx = { version = "0.7", features = ["runtime-tokio", "postgres"] }
bencode = { path = "../bencode", default-features = false, package = "librqbit-bencode", version = "2.2.3" }
tracker_comms = { path = "../tracker_comms", default-features = false, package = "librqbit-tracker-comms", version = "1.0.3" }
buffers = { path = "../buffers", package = "librqbit-buffers", version = "3.0.1" }