File tree 4 files changed +19
-6
lines changed
4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 44
44
- name : Check code formatting
45
45
run : cargo fmt --all -- --check
46
46
47
+ # this checks the msrv
48
+ msrv :
49
+ name : Verify MSRV
50
+ runs-on : ubuntu-latest
51
+ steps :
52
+ - uses : actions/checkout@v4
53
+ - uses : baptiste0928/cargo-install@v3
54
+ with :
55
+ crate : cargo-msrv
56
+ - name : Verify minimum rust version of influxdb crate
57
+ run : cargo msrv --path influxdb --output-format json verify
58
+ - name : Verify minimum rust version of influxdb_derive crate
59
+ run : cargo msrv --path influxdb_derive --output-format json verify
60
+
47
61
# this tests that all unit and doc tests are successful
48
62
unit_tests :
49
63
name : Unit and Doc Tests (Rust ${{matrix.rust.name}} on ${{matrix.os}})
53
67
fail-fast : false
54
68
matrix :
55
69
rust :
56
- - name : MSRV
57
- toolchain : " 1.65"
58
- nightly : false
59
70
- name : Stable
60
71
toolchain : stable
61
72
nightly : false
78
89
~/.cargo/git
79
90
~/.cargo/registry
80
91
target
81
- key : " ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
92
+ key : " ${{matrix.rust.toolchain}} on ${{ runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
82
93
- run : cargo test --lib
83
94
- run : cargo test --doc
84
95
Original file line number Diff line number Diff line change 25
25
<a href =" https://www.rust-lang.org/en-US/" >
26
26
<img src =" https://img.shields.io/badge/Made%20with-Rust-orange.svg" alt =' Build with Rust' />
27
27
</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://blog.rust-lang.org/2022/11/03/Rust-1.67 .0.html" >
29
+ <img src =" https://img.shields.io/badge/rustc-1.67 +-yellow.svg" alt =' Minimum Rust Version: 1.67 ' />
30
30
</a >
31
31
</p >
32
32
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ license = "MIT"
11
11
readme = " README.md"
12
12
include = [" src/**/*" , " tests/**/*" , " Cargo.toml" , " LICENSE" ]
13
13
repository = " https://github.com/influxdb-rs/influxdb-rust"
14
+ rust-version = " 1.67"
14
15
15
16
[dependencies ]
16
17
chrono = { version = " 0.4.23" , features = [" serde" ], default-features = false }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ license = "MIT"
11
11
readme = " README.md"
12
12
include = [" src/**/*" , " tests/**/*" , " Cargo.toml" , " LICENSE" ]
13
13
repository = " https://github.com/influxdb-rs/influxdb-rust"
14
+ rust-version = " 1.67"
14
15
15
16
[lib ]
16
17
proc-macro = true
You can’t perform that action at this time.
0 commit comments