Skip to content

Commit e90b558

Browse files
committed
websockets working for reading & executions, batch & transactions wip
1 parent 00e39be commit e90b558

File tree

12 files changed

+1049
-352
lines changed

12 files changed

+1049
-352
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.dart_tool
22
target
33
turso
4+
*.g.dart

Cargo.lock

Lines changed: 207 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ serde_json = "1.0.134"
1515
tokio = { version = "1.42.0", features = ["rt-multi-thread"] }
1616
reqwest = { version = "0.12.9", features = ["json", "blocking", "gzip"] }
1717
num_cpus = "1.17.0"
18+
tokio-tungstenite = { version = "0.27.0", features = ["native-tls"] }
19+
futures-util = "0.3.31"

src/auth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use std::{future::Future, pin::Pin};
22

3-
use crate::utils::TursoConfig;
3+
use crate::transport::TursoConfig;
44

55
pub trait DbAuthStrategy {
66
fn resolve<'a>(

0 commit comments

Comments
 (0)