File tree Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Expand file tree Collapse file tree 4 files changed +4
-24
lines changed Original file line number Diff line number Diff line change @@ -580,17 +580,6 @@ pub mod proxy_client {
580
580
pub struct ProxyClient < T > {
581
581
inner : tonic:: client:: Grpc < T > ,
582
582
}
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
- }
594
583
impl < T > ProxyClient < T >
595
584
where
596
585
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 {
101
101
pub struct ReplicationLogClient < T > {
102
102
inner : tonic:: client:: Grpc < T > ,
103
103
}
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
- }
115
104
impl < T > ReplicationLogClient < T >
116
105
where
117
106
T : tonic:: client:: GrpcService < tonic:: body:: BoxBody > ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ fn bootstrap() {
19
19
tonic_build:: configure ( )
20
20
. build_client ( true )
21
21
. build_server ( true )
22
- . build_transport ( true )
22
+ . build_transport ( false )
23
23
. out_dir ( & out_dir)
24
24
. type_attribute ( ".proxy" , "#[derive(serde::Serialize, serde::Deserialize)]" )
25
25
. compile_with_config ( config, iface_files, dirs)
Original file line number Diff line number Diff line change 2
2
name = " libsql-wal"
3
3
version = " 0.1.0-alpha.1"
4
4
edition = " 2021"
5
+ description = " wal implementation for libsql"
6
+ license = " MIT"
5
7
6
8
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
9
@@ -60,7 +62,7 @@ s3s-fs = { git = "https://github.com/Nugine/s3s" }
60
62
s3s-aws = { git = " https://github.com/Nugine/s3s" }
61
63
tracing-subscriber = " 0.3"
62
64
aws-credential-types = { version = " 1" , features = [" test-util" ] }
63
- tokio = { version = " * " , features = [" test-util" ] }
65
+ tokio = { version = " 1 " , features = [" test-util" ] }
64
66
65
67
[[bench ]]
66
68
name = " benchmarks"
You can’t perform that action at this time.
0 commit comments