From 425783633b3782a59c74521b6b7d96a5a595c610 Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:03:58 +0700 Subject: [PATCH 1/6] Update `flate2` dependency --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6051069..4020e5b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -430,9 +430,9 @@ checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "flate2" -version = "1.0.29" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4556222738635b7a3417ae6130d8f52201e45a0c4d1a907f0826383adb5f85e7" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "miniz_oxide", From 4290af516c9f7343f40a06df84ce89ac5a831d89 Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:06:35 +0700 Subject: [PATCH 2/6] Set authors, repo and msrv in Cargo.toml --- Cargo.toml | 10 ++++++++++ bincache/Cargo.toml | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d7ac8ec..4f378fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,3 +1,13 @@ [workspace] members = ["bincache"] resolver = "2" + +[workspace.package] +authors = [ + "Zitane Labs", + "Marco Quinten ", + "Thomas Bäcker " +] +license = "MIT" +repository = "https://github.com/ZitaneLabs/bincache" +rust-version = "1.65" diff --git a/bincache/Cargo.toml b/bincache/Cargo.toml index 1c2ae16..83f0684 100644 --- a/bincache/Cargo.toml +++ b/bincache/Cargo.toml @@ -3,7 +3,10 @@ name = "bincache" version = "0.4.3" edition = "2021" description = "ZitaneLabs binary cache." -license = "MIT" +authors.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true [features] default = ["implicit-blocking"] From 1dde13345f37277e471c62fcc662873521b1ebf1 Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:11:40 +0700 Subject: [PATCH 3/6] Update cargo deny config --- deny.toml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/deny.toml b/deny.toml index d53a38f..4474c49 100644 --- a/deny.toml +++ b/deny.toml @@ -1,28 +1,22 @@ -all-features = false -no-default-features = false +[graph] +all-features = true [advisories] +version = 2 db-path = "~/.cargo/advisory-db" db-urls = ["https://github.com/rustsec/advisory-db"] -vulnerability = "deny" -unmaintained = "warn" -yanked = "warn" -notice = "warn" ignore = [ # "RUSTSEC-0000-0000" ] [licenses] -unlicensed = "deny" +version = 2 allow = [ "MIT", "Apache-2.0", "BSD-3-Clause", "Unicode-DFS-2016", # used by unicode-ident ] -copyleft = "deny" -allow-osi-fsf-free = "neither" -default = "deny" [bans] skip = [ From 30b47b374568e0c8b12c120ee6c4a7aa694ad59b Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:14:43 +0700 Subject: [PATCH 4/6] Update CI dependencies --- .github/workflows/deny.yml | 2 +- .github/workflows/rust.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 59eee32..67f73a0 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -10,5 +10,5 @@ jobs: cargo-deny: runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4225794..cc845c2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,7 @@ jobs: test: runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup toolchain install stable --profile minimal - run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin - name: cargo test (blocking) @@ -32,7 +32,7 @@ jobs: clippy: runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup toolchain install stable --profile minimal - run: rustup component add clippy - name: cargo clippy (blocking) @@ -44,7 +44,7 @@ jobs: rustfmt: runs-on: [ubuntu-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: rustup toolchain install stable --profile minimal - run: rustup component add rustfmt - run: cargo fmt --all --check From 825ce4e426ac541dc0918afe9c0dac98702cafe9 Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:16:43 +0700 Subject: [PATCH 5/6] Update README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9846360..d658e93 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,16 @@ ![Backed by Zitane Labs][badge_zitane] ![Powered by Rust][badge_rust] +![crates.io: bincache][badge_crates] +![MSRV: 1.65][badge_msrv] ![License: MIT][badge_license] [badge_zitane]: https://badgers.space/badge/Backed%20by/Zitane%20Labs/pink [badge_rust]: https://badgers.space/badge/Powered%20by/Rust/orange +[badge_crates]: https://badgers.space/crates/info/bincache +[badge_msrv]: https://badgers.space/badge/MSRV/1.65 [badge_license]: https://badgers.space/badge/License/MIT -**The library is not yet published to crates.io.**
-The API is not yet stabilized, so expect breaking changes. - ## Overview - Simple API From 61d48c0c526e0411a0331679d9451313273e8258 Mon Sep 17 00:00:00 2001 From: SplittyDev Date: Mon, 29 Apr 2024 22:22:30 +0700 Subject: [PATCH 6/6] Bump version to `0.5.0` --- Cargo.lock | 2 +- bincache/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4020e5b..f2e3ef7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ dependencies = [ [[package]] name = "bincache" -version = "0.4.3" +version = "0.5.0" dependencies = [ "async-compression", "async-std", diff --git a/bincache/Cargo.toml b/bincache/Cargo.toml index 83f0684..93fa295 100644 --- a/bincache/Cargo.toml +++ b/bincache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bincache" -version = "0.4.3" +version = "0.5.0" edition = "2021" description = "ZitaneLabs binary cache." authors.workspace = true