Skip to content

Commit

Permalink
Update env_logger to 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
alexheretic committed Jan 20, 2024
1 parent 3eb580c commit 93eb8f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo test

rustfmt:
runs-on: ubuntu-latest
steps:
- run: rustup update stable
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: cargo fmt -- --check
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ log = "0.4"
crossbeam-channel = { version = "0.5", optional = true }
google_translate = { path = "goog", optional = true }
indexmap = { version = "2", optional = true }
env_logger = { version = "0.10", optional = true }
env_logger = { version = "0.11", optional = true }

[build-dependencies]
quote = "1"
Expand Down
10 changes: 5 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn main() {
fn build_translated_pairs() {
let translations = std::env::current_dir().unwrap().join("translated-pairs");

let lang_replace: Vec<_> = fs::read_dir(&translations)
let lang_replace: Vec<_> = fs::read_dir(translations)
.unwrap()
.filter_map(|entry| {
let entry = entry.ok()?;
Expand Down Expand Up @@ -85,7 +85,7 @@ fn build_translated_pairs() {
fn build_company() {
let company = std::env::current_dir().unwrap().join("company");

let lang_company: Vec<_> = fs::read_dir(&company)
let lang_company: Vec<_> = fs::read_dir(company)
.unwrap()
.filter_map(|entry| {
let entry = entry.ok()?;
Expand Down Expand Up @@ -174,7 +174,7 @@ fn build_company() {
fn build_primer() {
let unlocks = std::env::current_dir().unwrap().join("primer");

let lang_primer: Vec<_> = fs::read_dir(&unlocks)
let lang_primer: Vec<_> = fs::read_dir(unlocks)
.unwrap()
.filter_map(|entry| {
let entry = entry.ok()?;
Expand Down Expand Up @@ -287,7 +287,7 @@ fn build_primer() {
fn build_function_docs() {
let unlocks = std::env::current_dir().unwrap().join("function");

let lang_lookup: Vec<_> = fs::read_dir(&unlocks)
let lang_lookup: Vec<_> = fs::read_dir(unlocks)
.unwrap()
.filter_map(|entry| {
let entry = entry.ok()?;
Expand Down Expand Up @@ -446,7 +446,7 @@ fn build_function_docs() {
fn build_colony() {
let dir = std::env::current_dir().unwrap().join("colony");

let lang_message: Vec<_> = fs::read_dir(&dir)
let lang_message: Vec<_> = fs::read_dir(dir)
.unwrap()
.filter_map(|entry| {
let entry = entry.ok()?;
Expand Down

0 comments on commit 93eb8f8

Please sign in to comment.