Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #136 from MindFlavor/issue/135/pr
Browse files Browse the repository at this point in the history
Fixed clippy issues
  • Loading branch information
MindFlavor authored Aug 16, 2019
2 parents 6b5e712 + d446afe commit 5bd99e9
Show file tree
Hide file tree
Showing 16 changed files with 52 additions and 36 deletions.
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,20 @@

[![Build Status](https://travis-ci.org/MindFlavor/AzureSDKForRust.svg?branch=master)](https://travis-ci.org/MindFlavor/AzureSDKForRust) [![Coverage Status](https://coveralls.io/repos/MindFlavor/AzureSDKForRust/badge.svg?branch=master&service=github)](https://coveralls.io/github/MindFlavor/AzureSDKForRust?branch=master) ![stability-unstable](https://img.shields.io/badge/stability-unstable-yellow.svg)

[![tag](https://img.shields.io/github/tag/mindflavor/AzureSDKForRust.svg)](https://github.com/MindFlavor/AzureSDKForRust/tree/0.20.2) [![release](https://img.shields.io/github/release/mindflavor/AzureSDKForRust.svg)](https://github.com/MindFlavor/AzureSDKForRust/releases/tag/0.20.2) [![commitssince](https://img.shields.io/github/commits-since/mindflavor/AzureSDKForRust/0.20.2.svg)](https://github.com/MindFlavor/AzureSDKForRust/commits/master)
[![tag](https://img.shields.io/github/tag/mindflavor/AzureSDKForRust.svg)](https://github.com/MindFlavor/AzureSDKForRust/tree/0.20.3) [![release](https://img.shields.io/github/release/mindflavor/AzureSDKForRust.svg)](https://github.com/MindFlavor/AzureSDKForRust/releases/tag/0.20.3) [![commitssince](https://img.shields.io/github/commits-since/mindflavor/AzureSDKForRust/0.20.3.svg)](https://github.com/MindFlavor/AzureSDKForRust/commits/master)

[![GitHub contributors](https://img.shields.io/github/contributors/MindFlavor/AzureSDKForRust.svg)](https://github.com/MindFlavor/AzureSDKForRust/graphs/contributors)

Crate | Docs | Crates.io | Downloads | Downloads@Latest |
-- | -- | -- | -- | -- |
[azure_sdk_auth_aad](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_auth_aad) | [![docs](https://docs.rs/azure_sdk_auth_aad/badge.svg)](https://docs.rs/azure_sdk_auth_aad/0.20.2/azure_sdk_auth_aad) | [![Crate](https://img.shields.io/crates/v/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad)
[azure_sdk_core](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_core) | [![docs](https://docs.rs/azure_sdk_core/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_for_rust) | [![Crate](https://img.shields.io/crates/v/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core)
[azure_sdk_cosmos](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_cosmos) | [![docs](https://docs.rs/azure_sdk_cosmos/badge.svg)](https://docs.rs/azure_sdk_core/0.21.0/azure_sdk_cosmos) | [![Crate](https://img.shields.io/crates/v/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos)
[azure_sdk_service_bus](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_service_bus) | [![docs](https://docs.rs/azure_sdk_service_bus/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_service_bus) | [![Crate](https://img.shields.io/crates/v/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus)
[azure_sdk_storage_account](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_account) | [![docs](https://docs.rs/azure_sdk_storage_account/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_storage_account) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account)
[azure_sdk_storage_blob](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_blob) | [![docs](https://docs.rs/azure_sdk_storage_blob/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_storage_blob) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob)
[azure_sdk_storage_core](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_core) | [![docs](https://docs.rs/azure_sdk_storage_core/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_storage_core) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core)
[azure_sdk_storage_table](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_table) | [![docs](https://docs.rs/azure_sdk_storage_table/badge.svg)](https://docs.rs/azure_sdk_core/0.20.2/azure_sdk_storage_table) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table)

[azure_sdk_auth_aad](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_auth_aad) | [![docs](https://docs.rs/azure_sdk_auth_aad/badge.svg)](https://docs.rs/azure_sdk_auth_aad/0.21.0/azure_sdk_auth_aad) | [![Crate](https://img.shields.io/crates/v/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_auth_aad.svg)](https://crates.io/crates/azure_sdk_auth_aad)
[azure_sdk_core](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_core) | [![docs](https://docs.rs/azure_sdk_core/badge.svg)](https://docs.rs/azure_sdk_core/0.20.3/azure_sdk_core) | [![Crate](https://img.shields.io/crates/v/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_core.svg)](https://crates.io/crates/azure_sdk_core)
[azure_sdk_cosmos](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_cosmos) | [![docs](https://docs.rs/azure_sdk_cosmos/badge.svg)](https://docs.rs/azure_sdk_cosmos/0.22.0/azure_sdk_cosmos) | [![Crate](https://img.shields.io/crates/v/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_cosmos.svg)](https://crates.io/crates/azure_sdk_cosmos)
[azure_sdk_service_bus](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_service_bus) | [![docs](https://docs.rs/azure_sdk_service_bus/badge.svg)](https://docs.rs/azure_sdk_service_bus/0.20.2/azure_sdk_service_bus) | [![Crate](https://img.shields.io/crates/v/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_service_bus.svg)](https://crates.io/crates/azure_sdk_service_bus)
[azure_sdk_storage_account](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_account) | [![docs](https://docs.rs/azure_sdk_storage_account/badge.svg)](https://docs.rs/azure_sdk_storage_account/0.20.3/azure_sdk_storage_account) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_account.svg)](https://crates.io/crates/azure_sdk_storage_account)
[azure_sdk_storage_blob](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_blob) | [![docs](https://docs.rs/azure_sdk_storage_blob/badge.svg)](https://docs.rs/azure_sdk_storage_blob/0.20.3/azure_sdk_storage_blob) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_blob.svg)](https://crates.io/crates/azure_sdk_storage_blob)
[azure_sdk_storage_core](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_core) | [![docs](https://docs.rs/azure_sdk_storage_core/badge.svg)](https://docs.rs/azure_sdk_storage_core/0.20.3/azure_sdk_storage_core) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_core.svg)](https://crates.io/crates/azure_sdk_storage_core)
[azure_sdk_storage_table](https://github.com/MindFlavor/AzureSDKForRust/tree/master/azure_sdk_storage_table) | [![docs](https://docs.rs/azure_sdk_storage_table/badge.svg)](https://docs.rs/azure_sdk_storage_table/0.20.3/azure_sdk_storage_table) | [![Crate](https://img.shields.io/crates/v/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table) | [![cratedown](https://img.shields.io/crates/d/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table) | [![cratelastdown](https://img.shields.io/crates/dv/azure_sdk_storage_table.svg)](https://crates.io/crates/azure_sdk_storage_table)


## Introduction
Expand Down
2 changes: 1 addition & 1 deletion azure_sdk_auth_aad/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_auth_aad"
version = "0.20.2"
version = "0.21.0"
description = "Rust wrappers around Microsoft Azure REST APIs - Azure OAuth2 helper crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>"]
Expand Down
6 changes: 3 additions & 3 deletions azure_sdk_auth_aad/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
extern crate failure;
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate log;
use azure_sdk_core::errors::AzureError;
use futures::future::{done, ok, Future};
Expand All @@ -12,6 +11,7 @@ use oauth2::curl::http_client;
use oauth2::{
AuthType, AuthUrl, AuthorizationCode, ClientId, ClientSecret, CsrfToken, PkceCodeChallenge, PkceCodeVerifier, RedirectUrl, TokenUrl,
};
use std::str::FromStr;
use url::form_urlencoded;
use url::Url;
mod login_response;
Expand Down Expand Up @@ -82,7 +82,7 @@ pub fn exchange(
.set_pkce_verifier(auth_obj.pkce_code_verifier)
.request(http_client);

println!("MS Graph returned the following token:\n{:?}\n", token);
debug!("MS Graph returned the following token:\n{:?}\n", token);
token
}

Expand Down Expand Up @@ -114,7 +114,7 @@ pub fn authorize_non_interactive(
.and_then(move |request| {
perform_http_request(&client, request, StatusCode::OK).and_then(|resp| {
done(LoginResponse::from_str(&resp)).from_err().and_then(|r| {
println!("{:?}", r);
debug!("{:?}", r);
ok(r)
})
})
Expand Down
9 changes: 7 additions & 2 deletions azure_sdk_auth_aad/src/login_response.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use azure_sdk_core::errors::AzureError;
use chrono::{DateTime, TimeZone, Utc};
use oauth2::AccessToken;
use std::str::FromStr;

#[derive(Debug, Clone, Deserialize)]
struct _LoginResponse {
Expand All @@ -24,8 +25,10 @@ pub struct LoginResponse {
pub access_token: AccessToken,
}

impl LoginResponse {
pub fn from_str(s: &str) -> Result<LoginResponse, AzureError> {
impl FromStr for LoginResponse {
type Err = AzureError;

fn from_str(s: &str) -> Result<Self, Self::Err> {
let r: _LoginResponse = serde_json::from_str(s)?;

let expires_on: i64 = r.expires_on.parse()?;
Expand All @@ -44,7 +47,9 @@ impl LoginResponse {
access_token: AccessToken::new(r.access_token),
})
}
}

impl LoginResponse {
pub fn access_token(&self) -> &AccessToken {
&self.access_token
}
Expand Down
2 changes: 1 addition & 1 deletion azure_sdk_cosmos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_cosmos"
version = "0.21.0"
version = "0.22.0"
description = "Rust wrappers around Microsoft Azure REST APIs - Azure Cosmos DB crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>"]
Expand Down
3 changes: 2 additions & 1 deletion azure_sdk_cosmos/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ impl CosmosUriBuilder for CustomCosmosUri {
pub struct ClientBuilder {}

impl ClientBuilder {
#[allow(clippy::new_ret_no_self)]
pub fn new(auth_token: AuthorizationToken) -> Result<Client<DefaultCosmosUri>, AzureError> {
let client = hyper::Client::builder().build(HttpsConnector::new(4));
let cosmos_uri_builder = DefaultCosmosUri::new(auth_token.account());
Expand Down Expand Up @@ -767,7 +768,7 @@ fn string_to_sign(http_method: &hyper::Method, rt: ResourceType, resource_link:
}

fn generate_resource_link(u: &str) -> &str {
static ENDING_STRINGS: &'static [&str] = &["dbs", "colls", "docs"];
static ENDING_STRINGS: &[&str] = &["dbs", "colls", "docs"];

// store the element only if it does not end with dbs, colls or docs
let p = u;
Expand Down
4 changes: 2 additions & 2 deletions azure_sdk_cosmos/src/requests/document_requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl CreateDocumentRequest {
}
}

request_option!(is_upsert, bool, HEADER_DOCUMENTDB_IS_UPSERT);
request_option!(upsert, bool, HEADER_DOCUMENTDB_IS_UPSERT);
request_option!(indexing_directive, IndexingDirective, HEADER_INDEXING_DIRECTIVE);
request_bytes_ref!(partition_key, str, HEADER_DOCUMENTDB_PARTITIONKEY);
request_option!(use_multiple_write_locations, bool, HEADER_ALLOW_MULTIPLE_WRITES);
Expand Down Expand Up @@ -196,7 +196,7 @@ impl QueryDocumentRequest {
let mut d = v.get_mut("Documents").unwrap().take();
debug!("\n\nd == {:?}\n\n", d);

let docs = d.as_array_mut().unwrap().into_iter().map(|doc| {
let docs = d.as_array_mut().unwrap().iter_mut().map(|doc| {
// We could either have a Document or a plain entry.
// We will find out here.
let mut doc = doc.take();
Expand Down
4 changes: 2 additions & 2 deletions azure_sdk_storage_account/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_storage_account"
version = "0.20.2"
version = "0.20.3"
description = "Rust wrappers around Microsoft Azure REST APIs - Blob storage account crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>"]
Expand All @@ -16,7 +16,7 @@ edition = "2018"

[dependencies]
azure_sdk_core = { path="../azure_sdk_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.3" }
ring = "0.14"
md5 = "0.6"
RustyXML = "0.1"
Expand Down
11 changes: 5 additions & 6 deletions azure_sdk_storage_account/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,27 @@ extern crate uuid;
extern crate xml;
#[macro_use]
extern crate log;
extern crate azure_sdk_core;
extern crate azure_sdk_storage_core;
extern crate bytes;
extern crate quick_error;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate bytes;
extern crate serde_json;
extern crate serde_xml_rs;
extern crate smallvec;

#[macro_use]
extern crate azure_sdk_core;
extern crate azure_sdk_storage_core;
pub mod account;
pub mod prelude;

use azure_sdk_storage_core::client::Client;

pub trait Account {
#[allow(clippy::needless_lifetimes)]
fn get_account_information<'a>(&'a self) -> account::requests::GetAccountInformationBuilder<'a>;
}

impl Account for Client {
#[allow(clippy::needless_lifetimes)]
fn get_account_information<'a>(&'a self) -> account::requests::GetAccountInformationBuilder<'a> {
account::requests::GetAccountInformationBuilder::new(self)
}
Expand Down
2 changes: 1 addition & 1 deletion azure_sdk_storage_account/tests/account.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![cfg(all(test, feature = "test_e2e"))]
use azure_sdk_storage_blob::prelude::*;
use azure_sdk_storage_account::prelude::*;
use azure_sdk_storage_core::prelude::*;
use tokio_core::reactor::Core;

Expand Down
4 changes: 2 additions & 2 deletions azure_sdk_storage_blob/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_storage_blob"
version = "0.20.2"
version = "0.20.3"
description = "Rust wrappers around Microsoft Azure REST APIs - Blob storage crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>", "Dong Liu <[email protected]>"]
Expand All @@ -16,7 +16,7 @@ edition = "2018"

[dependencies]
azure_sdk_core = { path="../azure_sdk_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.3" }
ring = "0.14"
md5 = "0.6"
RustyXML = "0.1"
Expand Down
1 change: 1 addition & 0 deletions azure_sdk_storage_blob/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![recursion_limit = "128"]
#![allow(clippy::needless_lifetimes)]

extern crate base64;
extern crate chrono;
Expand Down
2 changes: 1 addition & 1 deletion azure_sdk_storage_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_storage_core"
version = "0.20.2"
version = "0.20.3"
description = "Rust wrappers around Microsoft Azure REST APIs - Core storage crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>", "Dong Liu <[email protected]>"]
Expand Down
2 changes: 0 additions & 2 deletions azure_sdk_storage_core/src/rest_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ fn add_if_exists<K: header::AsHeaderName>(h: &HeaderMap, key: K) -> &str {
}

#[allow(unknown_lints)]
#[clippy::needless_pass_by_value]
fn string_to_sign(h: &HeaderMap, u: &url::Url, method: &Method, service_type: ServiceType) -> String {
match service_type {
ServiceType::Table => {
Expand Down Expand Up @@ -233,7 +232,6 @@ fn lexy_sort(vec: &url::form_urlencoded::Parse, query_param: &str) -> Vec<(Strin
}

#[allow(unknown_lints)]
#[clippy::too_many_arguments]
pub fn perform_request<F>(
client: &hyper::Client<HttpsConnector<hyper::client::HttpConnector>>,
uri: &str,
Expand Down
4 changes: 2 additions & 2 deletions azure_sdk_storage_table/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "azure_sdk_storage_table"
version = "0.20.2"
version = "0.20.3"
description = "Rust wrappers around Microsoft Azure REST APIs - Table storage crate"
readme = "README.md"
authors = ["Francesco Cogno <[email protected]>", "Max Gortman <[email protected]>", "Dong Liu <[email protected]>"]
Expand All @@ -16,7 +16,7 @@ edition = "2018"

[dependencies]
azure_sdk_core = { path="../azure_sdk_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.2" }
azure_sdk_storage_core = { path="../azure_sdk_storage_core", version = "0.20.3" }
ring = "0.14"
md5 = "0.6"
RustyXML = "0.1"
Expand Down
13 changes: 13 additions & 0 deletions scripts/clippy_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

set -ev

for i in azure_sdk* ; do
cd $i
cargo clean
cd ..
done

cargo clippy


0 comments on commit 5bd99e9

Please sign in to comment.