Skip to content

Commit 45c7462

Browse files
committed
libsql: small release fixes
1 parent e90e92b commit 45c7462

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

libsql-replication/src/generated/proxy.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -580,17 +580,6 @@ pub mod proxy_client {
580580
pub struct ProxyClient<T> {
581581
inner: tonic::client::Grpc<T>,
582582
}
583-
impl ProxyClient<tonic::transport::Channel> {
584-
/// Attempt to create a new client by connecting to a given endpoint.
585-
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
586-
where
587-
D: TryInto<tonic::transport::Endpoint>,
588-
D::Error: Into<StdError>,
589-
{
590-
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
591-
Ok(Self::new(conn))
592-
}
593-
}
594583
impl<T> ProxyClient<T>
595584
where
596585
T: tonic::client::GrpcService<tonic::body::BoxBody>,

libsql-replication/src/generated/wal_log.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@ pub mod replication_log_client {
101101
pub struct ReplicationLogClient<T> {
102102
inner: tonic::client::Grpc<T>,
103103
}
104-
impl ReplicationLogClient<tonic::transport::Channel> {
105-
/// Attempt to create a new client by connecting to a given endpoint.
106-
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
107-
where
108-
D: TryInto<tonic::transport::Endpoint>,
109-
D::Error: Into<StdError>,
110-
{
111-
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
112-
Ok(Self::new(conn))
113-
}
114-
}
115104
impl<T> ReplicationLogClient<T>
116105
where
117106
T: tonic::client::GrpcService<tonic::body::BoxBody>,

libsql-replication/tests/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn bootstrap() {
1919
tonic_build::configure()
2020
.build_client(true)
2121
.build_server(true)
22-
.build_transport(true)
22+
.build_transport(false)
2323
.out_dir(&out_dir)
2424
.type_attribute(".proxy", "#[derive(serde::Serialize, serde::Deserialize)]")
2525
.compile_with_config(config, iface_files, dirs)

libsql-wal/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name = "libsql-wal"
33
version = "0.1.0-alpha.1"
44
edition = "2021"
5+
description = "wal implementation for libsql"
6+
license = "MIT"
57

68
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
79

@@ -60,7 +62,7 @@ s3s-fs = { git = "https://github.com/Nugine/s3s" }
6062
s3s-aws = { git = "https://github.com/Nugine/s3s" }
6163
tracing-subscriber = "0.3"
6264
aws-credential-types = { version = "1", features = ["test-util"] }
63-
tokio = { version = "*", features = ["test-util"] }
65+
tokio = { version = "1", features = ["test-util"] }
6466

6567
[[bench]]
6668
name = "benchmarks"

0 commit comments

Comments
 (0)