diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 1865d31..618b9cf 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -5,8 +5,8 @@ ### Checklist - [ ] Formatted code using `cargo fmt --all` - [ ] Linted code using clippy - - [ ] with reqwest feature: `cargo clippy --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,reqwest-client-rustls -- -D warnings` - - [ ] with surf feature: `cargo clippy --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,hyper-client -- -D warnings` + - [ ] with reqwest feature: `cargo +1.75 clippy --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,reqwest-client-rustls -- -D warnings` + - [ ] with surf feature: `cargo clippy +1.75 --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,hyper-client -- -D warnings` - [ ] Updated README.md using `cargo doc2readme -p influxdb --expand-macros` - [ ] Reviewed the diff. Did you leave any print statements or unnecessary comments? - [ ] Any unfinished work that warrants a separate issue captured in an issue with a TODO code comment diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bc94844..39c3afd 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + # When changing this Rust version, please also update .github/PULL_REQUEST_TEMPLATE.md + # so contributors know which version of Rust to use for clippy checks. - uses: dtolnay/rust-toolchain@1.75.0 with: components: clippy diff --git a/.gitignore b/.gitignore index 6936990..53eaa21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ /target **/*.rs.bk -Cargo.lock diff --git a/README.j2 b/README.j2 index be728de..ead28b4 100644 --- a/README.j2 +++ b/README.j2 @@ -25,8 +25,8 @@ Build with Rust - - Minimum Rust Version: 1.67 + + Minimum Rust Version: 1.65

diff --git a/influxdb/Cargo.toml b/influxdb/Cargo.toml index c31729a..8efe5a8 100644 --- a/influxdb/Cargo.toml +++ b/influxdb/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" readme = "README.md" include = ["src/**/*", "tests/**/*", "Cargo.toml", "LICENSE"] repository = "https://github.com/influxdb-rs/influxdb-rust" -rust-version = "1.70" +rust-version = "1.65" [dependencies] chrono = { version = "0.4.23", features = ["serde"], default-features = false } @@ -44,4 +44,4 @@ wasm-client = ["surf", "surf/wasm-client"] [dev-dependencies] async-std = { version = "1.6.5", features = ["attributes", "tokio02", "tokio1"] } indoc = "1.0" -tokio = { version = "1.7", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.25.0", features = ["macros", "rt-multi-thread"] } diff --git a/influxdb_derive/Cargo.toml b/influxdb_derive/Cargo.toml index 6e4b377..754948b 100644 --- a/influxdb_derive/Cargo.toml +++ b/influxdb_derive/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" readme = "README.md" include = ["src/**/*", "tests/**/*", "Cargo.toml", "LICENSE"] repository = "https://github.com/influxdb-rs/influxdb-rust" -rust-version = "1.70" +rust-version = "1.65" [lib] proc-macro = true