File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
matrix :
10
10
os : [ubuntu-latest, macos-latest, windows-latest]
11
- rust : ["1.54.0 ", "1.60.0"]
11
+ rust : ["1.56.1 ", "1.60.0"]
12
12
runs-on : ${{ matrix.os }}
13
13
steps :
14
14
- name : Checkout source
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " rust-script"
3
3
version = " 0.22.0"
4
- edition = " 2018 "
4
+ edition = " 2021 "
5
5
authors = [" Fredrik Fornwall <fredrik@fornwall.net>" ]
6
6
description = " Command-line tool to run Rust \" scripts\" which can make use of crates."
7
7
homepage = " https://rust-script.org"
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ $ ./script.rs
29
29
A random number: 9240261453149857564
30
30
```
31
31
32
- Rust version 1.54 or newer required.
32
+ Rust version 1.56.1 or newer required.
33
33
34
34
See the [ documentation at rust-script.org] ( https://rust-script.org ) .
35
35
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ impl BuildKind {
95
95
96
96
fn parse_args ( ) -> Args {
97
97
use clap:: { Arg , ArgGroup , Command } ;
98
- use std:: iter:: FromIterator ;
99
98
let version = option_env ! ( "CARGO_PKG_VERSION" ) . unwrap_or ( "unknown" ) ;
100
99
let about = r#"Compiles and runs a Rust script."# ;
101
100
You can’t perform that action at this time.
0 commit comments