Skip to content

Commit 24f26f4

Browse files
committed
auto-update the rust version in the readme
1 parent a66b792 commit 24f26f4

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ members = ["influxdb", "influxdb_derive", "benches"]
66
[workspace.package]
77
authors = ["Gero Gerke <[email protected]>", "Dominic <[email protected]>"]
88
edition = "2018"
9+
# always put fully qualified version here, e.g. 1.65.0 (**NOT** 1.65)
910
rust-version = "1.65"
1011
license = "MIT"
1112
repository = "https://github.com/influxdb-rs/influxdb-rust"

README.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<a href="https://www.rust-lang.org/en-US/">
2626
<img src="https://img.shields.io/badge/Made%20with-Rust-orange.svg" alt='Build with Rust' />
2727
</a>
28-
<a href="https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html">
29-
<img src="https://img.shields.io/badge/rustc-1.65+-yellow.svg" alt='Minimum Rust Version: 1.65' />
28+
<a href="https://github.com/rust-lang/rust/releases/tag/{{ rust_version | urlencode }}">
29+
<img src="https://img.shields.io/badge/rustc-{{ rust_version | urlencode }}+-yellow.svg" alt='Minimum Rust Version: {{ rust_version }}' />
3030
</a>
3131
</p>
3232

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<a href="https://www.rust-lang.org/en-US/">
2626
<img src="https://img.shields.io/badge/Made%20with-Rust-orange.svg" alt='Build with Rust' />
2727
</a>
28-
<a href="https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html">
29-
<img src="https://img.shields.io/badge/rustc-1.65+-yellow.svg" alt='Minimum Rust Version: 1.65' />
28+
<a href="https://github.com/rust-lang/rust/releases/tag/1.65.0">
29+
<img src="https://img.shields.io/badge/rustc-1.65.0-yellow.svg" alt='Minimum Rust Version: 1.65.0' />
3030
</a>
3131
</p>
3232

@@ -155,7 +155,7 @@ To communicate with InfluxDB, you can choose the HTTP backend to be used configu
155155
@ 2020-2024 Gero Gerke, msrd0 and [contributors].
156156

157157
[contributors]: https://github.com/influxdb-rs/influxdb-rust/graphs/contributors
158-
[__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG_RDmlyxxvyrG0rwcLBKoYdvG5It9hbWNgjUGzjD8iBYfsFFYXKEG1LaAVLASZMqG5J2qfpyCvbMG_Rohh5BobOmG0DqLv5454SZYWSBgmhpbmZsdXhkYmUwLjcuMg
158+
[__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEGwiasFGzPvV5Gy6Y1oQPkGrqG7b_RpkdOEifG73obN0GCeV7YXKEG1LaAVLASZMqG5J2qfpyCvbMG_Rohh5BobOmG0DqLv5454SZYWSBgmhpbmZsdXhkYmUwLjcuMg
159159
[__link0]: https://github.com/influxdb-rs/influxdb-rust/blob/main/CONTRIBUTING.md
160160
[__link1]: https://github.com/influxdb-rs/influxdb-rust/blob/main/CODE_OF_CONDUCT.md
161161
[__link10]: https://github.com/alexcrichton/curl-rust

0 commit comments

Comments
 (0)