File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 > ,
Original file line number Diff line number Diff 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 > ,
Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change 22name = " libsql-wal"
33version = " 0.1.0-alpha.1"
44edition = " 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" }
6062s3s-aws = { git = " https://github.com/Nugine/s3s" }
6163tracing-subscriber = " 0.3"
6264aws-credential-types = { version = " 1" , features = [" test-util" ] }
63- tokio = { version = " * " , features = [" test-util" ] }
65+ tokio = { version = " 1 " , features = [" test-util" ] }
6466
6567[[bench ]]
6668name = " benchmarks"
You can’t perform that action at this time.
0 commit comments