Skip to content

Commit 08578c0

Browse files
authored
Update dependency env_logger from 0.6 to 0.10.2 (#521)
* Update env_logger from 0.6 to 0.11.x * Add Cargo.toml for updated dependency in previous commit * update deps for example projects * revert env_logger to 0.10.2 due to MSRV check in env_logger setting minimum rust version to 1.71. This conflicts with graphql-client's minimum of 1.64 * revert set_env_logger back to pre-0.11 for compatibility with rust 1.64 * rust fmt --
1 parent 5f8c172 commit 08578c0

File tree

5 files changed

+48
-40
lines changed

5 files changed

+48
-40
lines changed

Cargo.lock

Lines changed: 41 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/github/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ reqwest = { version = "0.12", features = ["json", "blocking"] }
1111
prettytable-rs = "^0.10.0"
1212
clap = { version = "^4.0", features = ["derive"] }
1313
log = "^0.4"
14-
env_logger = "^0.5"
14+
env_logger = "0.10.2"

examples/hasura/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ serde_json = "1.0"
1111
reqwest = { version = "0.12", features = ["json", "blocking"] }
1212
prettytable-rs = "0.10.0"
1313
log = "0.4.3"
14-
env_logger = "0.5.10"
14+
env_logger = "0.10.2"

graphql_client_cli/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ clap = { version = "^4.0", features = ["derive"] }
1919
serde = { version = "^1.0", features = ["derive"] }
2020
serde_json = "^1.0"
2121
log = "^0.4"
22-
env_logger = "^0.6"
22+
env_logger = { version = "0.10.2", features = ["color"] }
2323
syn = { version = "^2.0", features = ["full"] }
24+
anstyle = "1.0.10"
2425

2526
[features]
2627
default = []

graphql_client_cli/src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ mod introspection_schema;
55

66
use clap::Parser;
77
use env_logger::fmt::{Color, Style, StyledValue};
8-
use error::Error;
98
use log::Level;
9+
10+
use error::Error;
11+
1012
use std::path::PathBuf;
1113
use Cli::Generate;
1214

0 commit comments

Comments
 (0)