File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change
1
+ msrv = " 1.60.0" # MSRV
Original file line number Diff line number Diff line change @@ -55,15 +55,15 @@ jobs:
55
55
- name : Run crate example
56
56
run : cargo run --example default
57
57
msrv :
58
- name : " Check MSRV: 1.41 .0"
58
+ name : " Check MSRV: 1.60 .0"
59
59
runs-on : ubuntu-latest
60
60
steps :
61
61
- name : Checkout repository
62
62
uses : actions/checkout@v3
63
63
- name : Install Rust
64
64
uses : actions-rs/toolchain@v1
65
65
with :
66
- toolchain : 1.41 .0 # MSRV
66
+ toolchain : 1.60 .0 # MSRV
67
67
profile : minimal
68
68
override : true
69
69
- uses : Swatinem/rust-cache@v1
@@ -119,7 +119,7 @@ jobs:
119
119
- name : Install Rust
120
120
uses : actions-rs/toolchain@v1
121
121
with :
122
- toolchain : 1.41 .0 # MSRV
122
+ toolchain : 1.60 .0 # MSRV
123
123
profile : minimal
124
124
override : true
125
125
components : clippy
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ license = "MIT OR Apache-2.0"
14
14
repository = " https://github.com/rust-cli/env_logger/"
15
15
categories = [" development-tools::debugging" ]
16
16
keywords = [" logging" , " log" , " logger" ]
17
- edition = " 2018 "
18
- rust-version = " 1.41 .0" # MSRV
17
+ edition = " 2021 "
18
+ rust-version = " 1.60 .0" # MSRV
19
19
include = [
20
20
" build.rs" ,
21
21
" src/**/*" ,
Original file line number Diff line number Diff line change @@ -1168,7 +1168,7 @@ pub fn init() {
1168
1168
/// ```
1169
1169
/// use env_logger::{Builder, Env};
1170
1170
///
1171
- /// # fn run() -> Result<(), Box<::std::error::Error>> {
1171
+ /// # fn run() -> Result<(), Box<dyn ::std::error::Error>> {
1172
1172
/// let env = Env::new().filter("MY_LOG").write_style("MY_LOG_STYLE");
1173
1173
///
1174
1174
/// env_logger::try_init_from_env(env)?;
You can’t perform that action at this time.
0 commit comments