File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,8 @@ impl Database {
663
663
664
664
#[ cfg( any(
665
665
all( feature = "tls" , feature = "replication" ) ,
666
- all( feature = "tls" , feature = "remote" )
666
+ all( feature = "tls" , feature = "remote" ) ,
667
+ all( feature = "tls" , feature = "sync" )
667
668
) ) ]
668
669
fn connector ( ) -> Result < hyper_rustls:: HttpsConnector < hyper:: client:: HttpConnector > > {
669
670
let mut http = hyper:: client:: HttpConnector :: new ( ) ;
@@ -680,7 +681,8 @@ fn connector() -> Result<hyper_rustls::HttpsConnector<hyper::client::HttpConnect
680
681
681
682
#[ cfg( any(
682
683
all( not( feature = "tls" ) , feature = "replication" ) ,
683
- all( not( feature = "tls" ) , feature = "remote" )
684
+ all( not( feature = "tls" ) , feature = "remote" ) ,
685
+ all( not( feature = "tls" ) , feature = "sync" )
684
686
) ) ]
685
687
fn connector ( ) -> Result < hyper:: client:: HttpConnector > {
686
688
panic ! ( "The `tls` feature is disabled, you must provide your own http connector" ) ;
You can’t perform that action at this time.
0 commit comments