0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-12 20:33:11 +00:00
Files
libsql/libsql-storage-server/Cargo.toml
Avinash Sajjanshetty facb8942e4 Add storage server (#1431)
* Add build and version files

* Add `FrameStore` trait

This trait provides the methods which can be implemented by different
storage backends like Redis, Foundation DB etc.

* Add a gRPC server which implements Storage Server proto

* Add storage server runner with pluggable storage backends

* Add an InMemory FrameStore

* Address review comments

- Remove unnecessary Arc/Mutex in the Service struct
- Chnage all `&self mut` to `&self` in the `FrameStore` trait, handle
  locking internally

* Set cargo publish to false
2024-06-03 04:32:44 +00:00

35 lines
1012 B
TOML

[package]
name = "libsql-storage-server"
version = "0.0.1"
edition = "2021"
description = "libSQL Storage Server"
repository = "https://github.com/tursodatabase/libsql"
license = "MIT"
publish = false
default-run = "libsql-storage-server"
[[bin]]
name = "libsql-storage-server"
path = "src/main.rs"
[dependencies]
anyhow = "1.0.66"
bytes = "1.5.0"
clap = { version = "4.0.23", features = ["derive", "env", "string"] }
foundationdb = { version = "0.9.0", features = ["embedded-fdb-include", "fdb-7_3"] }
futures = "0.3.30"
libsql-storage = { path = "../libsql-storage" }
redis = "0.25.3"
tokio = { version = "1.22.2", features = ["rt-multi-thread", "net", "io-std", "io-util", "time", "macros", "sync", "fs", "signal"] }
tonic = { version = "0.10.0", features = ["tls"] }
tracing = "0.1.37"
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
async-trait = "0.1.80"
serde = "1.0.203"
[dev-dependencies]
[build-dependencies]
vergen = { version = "8", features = ["build", "git", "gitcl"] }