Skip to content

Commit

Permalink
build: v0.0.1-alpha.13
Browse files Browse the repository at this point in the history
Clippy allow removed
  • Loading branch information
kolbma committed Jan 18, 2024
1 parent 58ad6d8 commit 1fa0039
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rqlite_client"
version = "0.0.1-alpha.12"
version = "0.0.1-alpha.13"
authors = ["Markus Kolb"]
description = "rqlite database client with optional extra convenience"
documentation = "https://docs.rs/rqlite_client/"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![Maintenance](https://img.shields.io/badge/maintenance-activly--developed-brightgreen.svg)
[![Rust](https://github.com/kolbma/rs_rqlite_client/actions/workflows/rust.yml/badge.svg)](https://github.com/kolbma/rs_rqlite_client/actions/workflows/rust.yml)

# rqlite_client v0.0.1-alpha.12
# rqlite_client v0.0.1-alpha.13


This is an __rqlite__ database client library with optional extra _convenience_.
Expand Down Expand Up @@ -256,8 +256,8 @@ See [`Query`](https://docs.rs/rqlite_client/latest/rqlite_client/struct.Query.ht

## Current version

[Source https://github.com/kolbma/rs_rqlite_client/tree/v0.0.1-alpha.12](https://github.com/kolbma/rs_rqlite_client/tree/v0.0.1-alpha.12)
[Download https://github.com/kolbma/rs_rqlite_client/releases/tag/v0.0.1-alpha.12](https://github.com/kolbma/rs_rqlite_client/releases/tag/v0.0.1-alpha.12)
[Source https://github.com/kolbma/rs_rqlite_client/tree/v0.0.1-alpha.13](https://github.com/kolbma/rs_rqlite_client/tree/v0.0.1-alpha.13)
[Download https://github.com/kolbma/rs_rqlite_client/releases/tag/v0.0.1-alpha.13](https://github.com/kolbma/rs_rqlite_client/releases/tag/v0.0.1-alpha.13)

## License

Expand Down
5 changes: 2 additions & 3 deletions src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ pub(crate) fn user_agent(connection: Option<&Connection>) -> ureq::Agent {
})
.or_else(Connection::detect_proxy);

let agent = if let Some(proxy) = proxy {
let agent = if let Some(proxy) = &proxy {
log::debug!("try proxy {proxy}");
tracing::debug!("try proxy {proxy}");
#[allow(clippy::needless_borrows_for_generic_args)]
match ureq::Proxy::new(&proxy) {
match ureq::Proxy::new(proxy) {
Ok(ureq_proxy) => {
log::info!("use proxy {proxy}");
tracing::info!("use roxy {proxy}");
Expand Down

0 comments on commit 1fa0039

Please sign in to comment.