Skip to content

Commit

Permalink
Upgrade to 1.62 Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jul 4, 2022
1 parent 0ca716c commit 0388eb6
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
&& !startsWith(github.ref, 'refs/tags/v')
&& !contains(github.event.head_commit.message, '[fresh ci]') }}
RUST_BACKTRACE: 1
RUST_VER: "1.61"
RUST_VER: "1.62"

jobs:

Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "baza"
version = "0.1.0-dev"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
description = "Simply scalable files storage without much fuss."
authors = ["Instrumentisto Team <developer@instrumentisto.com>"]
license = "BlueOak-1.0.0"
Expand All @@ -19,8 +19,8 @@ split-debuginfo = "unpacked"
[dependencies]
baza = { package = "baza-lib", path = "lib" }
baza-api-s3 = { path = "api/s3" }
clap = { version = "3.2", features = ["derive"] }
tokio = "1.0"
clap = { version = "3", features = ["derive"] }
tokio = "1"
tracing-subscriber = "0.3"

[workspace]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Baza
====

[![CI](https://github.com/instrumentisto/baza/workflows/CI/badge.svg?branch=main "CI")](https://github.com/instrumentisto/baza/actions?query=workflow%3ACI+branch%3Amain)
[![Rust 1.61+](https://img.shields.io/badge/rustc-1.61+-lightgray.svg "Rust 1.61+")](https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html)
[![Rust 1.62+](https://img.shields.io/badge/rustc-1.62+-lightgray.svg "Rust 1.62+")](https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html)

[Docker Hub](https://hub.docker.com/r/instrumentisto/baza)
| [GitHub Container Registry](https://github.com/orgs/instrumentisto/packages/container/package/baza)
Expand Down
2 changes: 1 addition & 1 deletion api/s3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "baza-api-s3"
version = "0.0.0"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
description = "S3 HTTP API implementation of Baza."
authors = ["Instrumentisto Team <developer@instrumentisto.com>"]
license = "BlueOak-1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions e2e/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "baza-e2e"
version = "0.0.0"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
description = "E2E (end-to-end) tests of this project."
authors = ["Instrumentisto Team <developer@instrumentisto.com>"]
license = "BlueOak-1.0.0"
Expand All @@ -17,7 +17,7 @@ once_cell = "1.12"
rusoto_core = "0.48"
rusoto_credential = "0.48"
rusoto_s3 = "0.48"
tokio = "1.0"
tokio = "1"

[[test]]
name = "e2e"
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async fn clear_data_dir() -> Result<(), String> {
.await
.map_err(|e| format!("Cannot stat `{DATA_DIR}` dir: {e}"))?
.is_dir()
.then(|| ())
.then_some(())
.ok_or_else(|| format!("`{DATA_DIR}` is not a dir"))?;

// We cannot use `async_fs::remove_dir_all` on `DATA_DIR` directly, because
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "baza-lib"
version = "0.0.0"
edition = "2021"
rust-version = "1.61"
rust-version = "1.62"
description = "Actual Baza implementation as library."
authors = ["Instrumentisto Team <developer@instrumentisto.com>"]
license = "BlueOak-1.0.0"
Expand Down

0 comments on commit 0388eb6

Please sign in to comment.