@ -100,26 +104,27 @@ impl Default for QueryOptions {
#[inline]
fndefault()-> Self{
Self{
service_handler: Rc::new(EmptyServiceHandler),
service_handler: ifcfg!(feature="http_client"){
Rc::new(service::SimpleServiceHandler::new())
}else{
Rc::new(EmptyServiceHandler)
},
}
}
}
implQueryOptions{
/// Use a simple HTTP 1.1 client built into Oxigraph to execute [SPARQL 1.1 Federated Query](https://www.w3.org/TR/sparql11-federated-query/) SERVICE calls.
///
/// Requires the `"http_client"` optional feature.
/// Use a given [`ServiceHandler`](trait.ServiceHandler.html) to execute [SPARQL 1.1 Federated Query](https://www.w3.org/TR/sparql11-federated-query/) SERVICE calls.
/// Use a given [`ServiceHandler`](trait.ServiceHandler.html) to execute [SPARQL 1.1 Federated Query](https://www.w3.org/TR/sparql11-federated-query/) SERVICE calls.