@@ -16,7 +16,7 @@ libsql-hrana = { version = "0.2", path = "../libsql-hrana", optional = true }
1616tokio = { version = " 1.29.1" , features = [" sync" ], optional = true }
1717tokio-util = { version = " 0.7" , features = [" io-util" , " codec" ], optional = true }
1818parking_lot = { version = " 0.12.1" , optional = true }
19- hyper = { workspace = true , features = [" client" , " stream" ], optional = true }
19+ hyper = { version = " 0.14 " , features = [" client" , " http1 " , " http2 " , " stream" , " runtime " ], optional = true }
2020hyper-rustls = { version = " 0.25" , features = [" webpki-roots" ], optional = true }
2121base64 = { version = " 0.21" , optional = true }
2222serde = { version = " 1" , features = [" derive" ], optional = true }
@@ -31,7 +31,7 @@ anyhow = { version = "1.0.71", optional = true }
3131bytes = { version = " 1.4.0" , features = [" serde" ], optional = true }
3232uuid = { version = " 1.4.0" , features = [" v4" , " serde" ], optional = true }
3333tokio-stream = { version = " 0.1.14" , optional = true }
34- tonic = { version = " 0.11" , features = [ " tls " , " tls-roots " , " tls-webpki-roots " ], optional = true }
34+ tonic = { version = " 0.11" , optional = true }
3535tonic-web = { version = " 0.11" , optional = true }
3636tower-http = { version = " 0.4.4" , features = [" trace" , " set-header" , " util" ], optional = true }
3737http = { version = " 0.2" , optional = true }
@@ -53,7 +53,7 @@ tempfile = { version = "3.7.0" }
5353rand = " 0.8.5"
5454
5555[features ]
56- default = [" core" , " replication" , " remote" ]
56+ default = [" core" , " replication" , " remote" , " tls " ]
5757core = [
5858 " libsql-sys" ,
5959 " dep:bitflags" ,
@@ -88,7 +88,6 @@ replication = [
8888 " dep:tonic" ,
8989 " dep:tonic-web" ,
9090 " dep:tower-http" ,
91- " dep:hyper-rustls" ,
9291 " dep:futures" ,
9392 " dep:libsql_replication" ,
9493]
@@ -109,22 +108,26 @@ remote = [
109108 " hrana" ,
110109 " dep:tower" ,
111110 " dep:hyper" ,
111+ " dep:hyper" ,
112112 " dep:http" ,
113113 " dep:tokio" ,
114114 " dep:futures" ,
115115 " dep:bitflags" ,
116- " dep:hyper-rustls" ,
117116]
118117wasm = [" hrana" ]
119118cloudflare = [
120119 " wasm" ,
121120 " dep:worker"
122121]
123122encryption = [" core" , " libsql-sys/encryption" , " dep:bytes" ]
123+ tls = [" dep:hyper-rustls" ]
124124
125125[[bench ]]
126126name = " benchmark"
127127harness = false
128128
129129[package .metadata .docs .rs ]
130130rustdoc-args = [" --cfg" , " docsrs" ]
131+
132+ [package .metadata .cargo-udeps .ignore ]
133+ normal = [" hyper-rustls" ]
0 commit comments