diff --git a/Cargo.lock b/Cargo.lock index 684aa94b..4538dce0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -794,7 +794,7 @@ dependencies = [ [[package]] name = "iqhttp" -version = "0.1.0" +version = "0.2.0" dependencies = [ "hyper", "hyper-proxy", diff --git a/iqhttp/CHANGELOG.md b/iqhttp/CHANGELOG.md index 6bd72a8b..4696b0b4 100644 --- a/iqhttp/CHANGELOG.md +++ b/iqhttp/CHANGELOG.md @@ -4,5 +4,15 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.1.1 (2022-04-23) +### Added +- `HttpsClient::{add_header, headers_mut}` methods ([#981]) + +### Changed +- Rust 2021 edition upgrade ([#889]) + +[#889]: https://github.com/iqlusioninc/crates/pull/889 +[#981]: https://github.com/iqlusioninc/crates/pull/981 + ## 0.1.0 (2021-05-10) - Initial release diff --git a/iqhttp/Cargo.toml b/iqhttp/Cargo.toml index f3cfa8e7..08effd4b 100644 --- a/iqhttp/Cargo.toml +++ b/iqhttp/Cargo.toml @@ -1,21 +1,18 @@ [package] -name = "iqhttp" -version = "0.1.0" # Also update html_root_url in lib.rs when bumping this +name = "iqhttp" +version = "0.2.0" description = """ iqlusion's HTTPS toolkit. Provides a high-level wrapper around hyper, with built-in SSL/TLS support based on rustls. """ -authors = [ - "Tony Arcieri ", - "Shella Stephens " -] -homepage = "https://github.com/iqlusioninc/crates/" -repository = "https://github.com/iqlusioninc/crates/tree/main/iqhttp" -license = "Apache-2.0 OR MIT" -categories = ["network-programming", "web-programming::http-client"] -keywords = ["api", "client", "http", "rest", "web"] -readme = "README.md" -edition = "2021" +authors = ["Tony Arcieri ", "Shella Stephens "] +homepage = "https://github.com/iqlusioninc/crates/" +repository = "https://github.com/iqlusioninc/crates/tree/main/iqhttp" +license = "Apache-2.0 OR MIT" +categories = ["network-programming", "web-programming::http-client"] +keywords = ["api", "client", "http", "rest", "web"] +readme = "README.md" +edition = "2021" rust-version = "1.56" [dependencies] diff --git a/iqhttp/README.md b/iqhttp/README.md index eec7a3bd..5ffe7d8e 100644 --- a/iqhttp/README.md +++ b/iqhttp/README.md @@ -2,9 +2,9 @@ [![Crate][crate-image]][crate-link] [![Docs][docs-image]][docs-link] +[![Build Status][build-image]][build-link] [![Apache 2.0 Licensed][license-image]][license-link] ![MSRV][rustc-image] -[![Build Status][build-image]][build-link] iqlusion's HTTPS toolkit. Provides a high-level wrapper around [`hyper`], with built-in SSL/TLS support based on [`rustls`]. @@ -13,11 +13,11 @@ built-in SSL/TLS support based on [`rustls`]. ## Minimum Supported Rust Version -- Rust **1.56** +Rust **1.56** ## License -Copyright © 2021 iqlusion +Copyright © 2021-2022 iqlusion **iqhttp** is distributed under the terms of either the MIT license or the Apache License (Version 2.0), at your option. @@ -33,15 +33,15 @@ without any additional terms or conditions. [//]: # (badges) -[crate-image]: https://img.shields.io/crates/v/iqhttp.svg +[crate-image]: https://img.shields.io/crates/v/iqhttp.svg?logo=rust [crate-link]: https://crates.io/crates/iqhttp [docs-image]: https://docs.rs/iqhttp/badge.svg [docs-link]: https://docs.rs/iqhttp/ +[build-image]: https://github.com/iqlusioninc/crates/actions/workflows/iqhttp.yml/badge.svg +[build-link]: https://github.com/iqlusioninc/crates/actions/workflows/iqhttp.yml [license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg [license-link]: https://github.com/iqlusioninc/crates/blob/main/LICENSE [rustc-image]: https://img.shields.io/badge/rustc-1.56+-blue.svg -[build-image]: https://github.com/iqlusioninc/crates/actions/workflows/iqhttp.yml/badge.svg -[build-link]: https://github.com/iqlusioninc/crates/actions/workflows/iqhttp.yml [//]: # (general links) diff --git a/iqhttp/src/lib.rs b/iqhttp/src/lib.rs index 08c5ae62..487bae55 100644 --- a/iqhttp/src/lib.rs +++ b/iqhttp/src/lib.rs @@ -1,15 +1,12 @@ -//! iqlusion's HTTP toolkit. -//! -//! Provides a high-level wrapper around [`hyper`], with built-in SSL/TLS support -//! based on [`rustls`]. -//! -//! [`hyper`]: https://docs.rs/hyper -//! [`rustls`]: https://docs.rs/rustls - +#![doc = include_str!("../README.md")] #![cfg_attr(docsrs, feature(doc_cfg))] -#![doc(html_root_url = "https://docs.rs/iqhttp/0.1.0")] -#![forbid(unsafe_code, clippy::unwrap_used)] -#![warn(missing_docs, rust_2018_idioms, unused_qualifications)] +#![forbid(unsafe_code)] +#![warn( + clippy::unwrap_used, + missing_docs, + rust_2018_idioms, + unused_qualifications +)] #[cfg(feature = "serde")] #[cfg_attr(docsrs, doc(cfg(feature = "serde")))] diff --git a/mintscan/Cargo.toml b/mintscan/Cargo.toml index d3ba8fe6..2c481945 100644 --- a/mintscan/Cargo.toml +++ b/mintscan/Cargo.toml @@ -15,7 +15,7 @@ edition = "2021" rust-version = "1.56" [dependencies] -iqhttp = { version = "0.1", features = ["json"], path = "../iqhttp" } +iqhttp = { version = "0.2", features = ["json"], path = "../iqhttp" } serde = { version = "1", features = ["serde_derive"] } tendermint = { version = "0.23", default-features = false }