Skip to content

Commit

Permalink
Release influxdb 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
msrd0 committed Mar 4, 2023
1 parent 597fdff commit 92d62c0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.6.0] - 2023-03-04

### Changed
- Unsigned integers are no longer treated as signed integers ([#113](https://github.com/influxdb-rs/influxdb-rust/pull/113))

### Added
- Support for token auth ([#118](https://github.com/influxdb-rs/influxdb-rust/pull/118))

## [0.5.2] - 2022-02-04

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

```toml
influxdb = { version = "0.5.2", features = ["derive"] }
influxdb = { version = "0.6", features = ["derive"] }
```

For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
Expand Down Expand Up @@ -113,33 +113,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.2", features = ["derive"] }
influxdb = { version = "0.6", features = ["derive"] }
```

- **[hyper](https://github.com/hyperium/hyper)** (through reqwest), with native TLS (OpenSSL)
```toml
influxdb = { version = "0.5.2", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "curl-client"] }
influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "curl-client"] }
influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "h1-client"] }
influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
influxdb = { version = "0.6", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
```

## License
Expand Down
4 changes: 2 additions & 2 deletions 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.2"
version = "0.6.0"
authors = ["Gero Gerke <[email protected]>"]
edition = "2018"
description = "InfluxDB Driver for Rust"
Expand All @@ -13,7 +13,7 @@ include = ["src/**/*", "tests/**/*", "Cargo.toml", "LICENSE"]
repository = "https://github.com/influxdb-rs/influxdb-rust"

[dependencies]
chrono = { version = "0.4.11", features = ["serde"], default-features = false }
chrono = { version = "0.4.23", features = ["serde"], default-features = false }
futures-util = "0.3.17"
http = "0.2.4"
influxdb_derive = { version = "0.5.0", optional = true }
Expand Down
16 changes: 8 additions & 8 deletions influxdb/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
//! Add the following to your `Cargo.toml`
//!
//! ```toml
//! influxdb = { version = "0.5.2", features = ["derive"] }
//! influxdb = { version = "0.6", features = ["derive"] }
//! ```
//!
//! For an example with using Serde deserialization, please refer to [serde_integration](crate::integrations::serde_integration)
Expand Down Expand Up @@ -81,33 +81,33 @@
//!
//! - **[hyper](https://github.com/hyperium/hyper)** (through reqwest, used by default), with [rustls](https://github.com/ctz/rustls)
//! ```toml
//! influxdb = { version = "0.5.2", features = ["derive"] }
//! influxdb = { version = "0.6", features = ["derive"] }
//! ```
//!
//! - **[hyper](https://github.com/hyperium/hyper)** (through reqwest), with native TLS (OpenSSL)
//! ```toml
//! influxdb = { version = "0.5.2", default-features = false, features = ["derive", "use-serde", "reqwest-client"] }
//! influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "curl-client"] }
//! influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "h1-client"] }
//! influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "h1-client-rustls"] }
//! influxdb = { version = "0.6", 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.2", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
//! influxdb = { version = "0.6", default-features = false, features = ["derive", "use-serde", "wasm-client"] }
//! ```
//!
//! # License
Expand Down

0 comments on commit 92d62c0

Please sign in to comment.