Skip to content

Commit

Permalink
Merge pull request #1753 from tursodatabase/lucio/small-release-fixes
Browse files Browse the repository at this point in the history
libsql: small release fixes
  • Loading branch information
LucioFranco authored Sep 20, 2024
2 parents e90e92b + 45c7462 commit 5cfdd70
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
11 changes: 0 additions & 11 deletions libsql-replication/src/generated/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,17 +580,6 @@ pub mod proxy_client {
pub struct ProxyClient<T> {
inner: tonic::client::Grpc<T>,
}
impl ProxyClient<tonic::transport::Channel> {
/// Attempt to create a new client by connecting to a given endpoint.
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> ProxyClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
Expand Down
11 changes: 0 additions & 11 deletions libsql-replication/src/generated/wal_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,6 @@ pub mod replication_log_client {
pub struct ReplicationLogClient<T> {
inner: tonic::client::Grpc<T>,
}
impl ReplicationLogClient<tonic::transport::Channel> {
/// Attempt to create a new client by connecting to a given endpoint.
pub async fn connect<D>(dst: D) -> Result<Self, tonic::transport::Error>
where
D: TryInto<tonic::transport::Endpoint>,
D::Error: Into<StdError>,
{
let conn = tonic::transport::Endpoint::new(dst)?.connect().await?;
Ok(Self::new(conn))
}
}
impl<T> ReplicationLogClient<T>
where
T: tonic::client::GrpcService<tonic::body::BoxBody>,
Expand Down
2 changes: 1 addition & 1 deletion libsql-replication/tests/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion libsql-wal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 5cfdd70

Please sign in to comment.