0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-11-13 13:19:25 +00:00
libsql/libsql-storage/Cargo.toml
Avinash Sajjanshetty 3460edce12
Add storage server RPC client (#1430)
* Add storage server RPC client

* Address review comments

- Use `#[tracing::instrument]` wherever appropriate
- Remove `Mutex` for `client` and `clone` it wherever required
- Avoid reading env variable inside the lib, rather take a config object
- Make the private methods of `DurableWal` async
- Don't try to create a runtime, instead assume it always exists. Let the caller create it
- Update proto:
	- remove `max_frame_no` from `InsertFramesRequest`
	- make `page_no` to `u32` in the proto
- Update storage server to have `page_no` as `u32`
2024-06-04 11:26:50 +00:00

23 lines
664 B
TOML

[package]
name = "libsql-storage"
version = "0.0.1"
edition = "2021"
description = "libSQL WAL"
repository = "https://github.com/tursodatabase/libsql"
license = "MIT"
[dependencies]
libsql-sys = { path = "../libsql-sys", features = ["rusqlite"] }
sieve-cache = "0.1.4"
tokio = { version = "1.22.2", features = ["rt-multi-thread", "net", "io-std", "io-util", "time", "macros", "sync", "fs"] }
tracing = { version = "0.1.37", default-features = false }
uuid = { version = "1.7.0", features = ["v4"] }
log = "0.4.20"
parking_lot = "0.12.1"
prost = "0.12"
tonic = { version = "0.10", features = ["tls"] }
[dev-dependencies]
prost-build = "0.12"
tonic-build = "0.10"