Skip to content

Commit

Permalink
Release 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed Dec 22, 2021
1 parent 1dbc872 commit 6df82f3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

## [0.5.1] - 2021-12-23

### Changed
- `Debug` implementation on `Client` now redacts passwords ([#106](https://github.com/influxdb-rs/influxdb-rust/pull/106))
- `Client` and `Query` builder functions are now annotated with `#[must_use]` ([#107](https://github.com/influxdb-rs/influxdb-rust/pull/107))

## [0.5.0] - 2021-11-04

### Added
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Pull requests are always welcome. See [Contributing](https://github.com/influxdb
Add the following to your `Cargo.toml`

```toml
influxdb = { version = "0.5.0", features = ["derive"] }
influxdb = { version = "0.5.1", features = ["derive"] }
```

For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
Expand Down Expand Up @@ -105,33 +105,33 @@ To communicate with InfluxDB, you can choose the HTTP backend to be used configu

- **[hyper](https://github.com/hyperium/hyper)** (through reqwest, used by default), with [rustls](https://github.com/ctz/rustls)
```toml
influxdb = { version = "0.5.0", features = ["derive"] }
influxdb = { version = "0.5.1", features = ["derive"] }
```

- **[hyper](https://github.com/hyperium/hyper)** (through reqwest), with native TLS (OpenSSL)
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
```

- **[hyper](https://github.com/hyperium/hyper)** (through surf), use this if you need tokio 0.2 compatibility
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "curl-client"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "curl-client"] }
```
- **[curl](https://github.com/alexcrichton/curl-rust)**, using [libcurl](https://curl.se/libcurl/)
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "curl-client"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "curl-client"] }
```
- **[async-h1](https://github.com/http-rs/async-h1)** with native TLS (OpenSSL)
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "h1-client"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "h1-client"] }
```
- **[async-h1](https://github.com/http-rs/async-h1)** with [rustls](https://github.com/ctz/rustls)
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
```
- WebAssembly's `window.fetch`, via `web-sys` and **[wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)**
```toml
influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
```

## License
Expand Down
2 changes: 1 addition & 1 deletion influxdb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[package]
name = "influxdb"
version = "0.5.0"
version = "0.5.1"
authors = ["Gero Gerke <[email protected]>"]
edition = "2018"
description = "InfluxDB Driver for Rust"
Expand Down
16 changes: 8 additions & 8 deletions influxdb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//! Add the following to your `Cargo.toml`
//!
//! ```toml
//! influxdb = { version = "0.5.0", features = ["derive"] }
//! influxdb = { version = "0.5.1", features = ["derive"] }
//! ```
//!
//! For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
Expand Down Expand Up @@ -73,33 +73,33 @@
//!
//! - **[hyper](https://github.com/hyperium/hyper)** (through reqwest, used by default), with [rustls](https://github.com/ctz/rustls)
//! ```toml
//! influxdb = { version = "0.5.0", features = ["derive"] }
//! influxdb = { version = "0.5.1", features = ["derive"] }
//! ```
//!
//! - **[hyper](https://github.com/hyperium/hyper)** (through reqwest), with native TLS (OpenSSL)
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
//! ```
//!
//! - **[hyper](https://github.com/hyperium/hyper)** (through surf), use this if you need tokio 0.2 compatibility
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! ```
//! - **[curl](https://github.com/alexcrichton/curl-rust)**, using [libcurl](https://curl.se/libcurl/)
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! ```
//! - **[async-h1](https://github.com/http-rs/async-h1)** with native TLS (OpenSSL)
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "h1-client"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "h1-client"] }
//! ```
//! - **[async-h1](https://github.com/http-rs/async-h1)** with [rustls](https://github.com/ctz/rustls)
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
//! ```
//! - WebAssembly's `window.fetch`, via `web-sys` and **[wasm-bindgen](https://github.com/rustwasm/wasm-bindgen)**
//! ```toml
//! influxdb = { version = "0.5.0", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
//! influxdb = { version = "0.5.1", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
//! ```
//!
//! # License
Expand Down

0 comments on commit 6df82f3

Please sign in to comment.