From 45c7462cd3e7d9b5446a3a246d0cdc7ac9e123f7 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Fri, 20 Sep 2024 17:34:12 -0400 Subject: [PATCH] libsql: small release fixes --- libsql-replication/src/generated/proxy.rs | 11 ----------- libsql-replication/src/generated/wal_log.rs | 11 ----------- libsql-replication/tests/bootstrap.rs | 2 +- libsql-wal/Cargo.toml | 4 +++- 4 files changed, 4 insertions(+), 24 deletions(-) diff --git a/libsql-replication/src/generated/proxy.rs b/libsql-replication/src/generated/proxy.rs index 0a5e7782ec..a76bb9bf65 100644 --- a/libsql-replication/src/generated/proxy.rs +++ b/libsql-replication/src/generated/proxy.rs @@ -580,17 +580,6 @@ pub mod proxy_client { pub struct ProxyClient { inner: tonic::client::Grpc, } - impl ProxyClient { - /// Attempt to create a new client by connecting to a given endpoint. - pub async fn connect(dst: D) -> Result - where - D: TryInto, - D::Error: Into, - { - let conn = tonic::transport::Endpoint::new(dst)?.connect().await?; - Ok(Self::new(conn)) - } - } impl ProxyClient where T: tonic::client::GrpcService, diff --git a/libsql-replication/src/generated/wal_log.rs b/libsql-replication/src/generated/wal_log.rs index 9f716eabfc..96f02ea235 100644 --- a/libsql-replication/src/generated/wal_log.rs +++ b/libsql-replication/src/generated/wal_log.rs @@ -101,17 +101,6 @@ pub mod replication_log_client { pub struct ReplicationLogClient { inner: tonic::client::Grpc, } - impl ReplicationLogClient { - /// Attempt to create a new client by connecting to a given endpoint. - pub async fn connect(dst: D) -> Result - where - D: TryInto, - D::Error: Into, - { - let conn = tonic::transport::Endpoint::new(dst)?.connect().await?; - Ok(Self::new(conn)) - } - } impl ReplicationLogClient where T: tonic::client::GrpcService, diff --git a/libsql-replication/tests/bootstrap.rs b/libsql-replication/tests/bootstrap.rs index 0721f91074..3d55c6ee3e 100644 --- a/libsql-replication/tests/bootstrap.rs +++ b/libsql-replication/tests/bootstrap.rs @@ -19,7 +19,7 @@ fn bootstrap() { tonic_build::configure() .build_client(true) .build_server(true) - .build_transport(true) + .build_transport(false) .out_dir(&out_dir) .type_attribute(".proxy", "#[derive(serde::Serialize, serde::Deserialize)]") .compile_with_config(config, iface_files, dirs) diff --git a/libsql-wal/Cargo.toml b/libsql-wal/Cargo.toml index 311d137c8b..5a356d50f4 100644 --- a/libsql-wal/Cargo.toml +++ b/libsql-wal/Cargo.toml @@ -2,6 +2,8 @@ name = "libsql-wal" version = "0.1.0-alpha.1" edition = "2021" +description = "wal implementation for libsql" +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -60,7 +62,7 @@ s3s-fs = { git = "https://github.com/Nugine/s3s" } s3s-aws = { git = "https://github.com/Nugine/s3s" } tracing-subscriber = "0.3" aws-credential-types = { version = "1", features = ["test-util"] } -tokio = { version = "*", features = ["test-util"] } +tokio = { version = "1", features = ["test-util"] } [[bench]] name = "benchmarks"