Skip to content

Commit

Permalink
Merge pull request #12 from ZitaneLabs/task/pre-release
Browse files Browse the repository at this point in the history
Prepare for crates.io release
  • Loading branch information
SplittyDev authored Apr 29, 2024
2 parents 92b3292 + 61d48c0 commit d75e608
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand All @@ -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
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
[workspace]
members = ["bincache"]
resolver = "2"

[workspace.package]
authors = [
"Zitane Labs",
"Marco Quinten <[email protected]>",
"Thomas Bäcker <[email protected]>"
]
license = "MIT"
repository = "https://github.com/ZitaneLabs/bincache"
rust-version = "1.65"
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.**<br>
The API is not yet stabilized, so expect breaking changes.

## Overview

- Simple API
Expand Down
7 changes: 5 additions & 2 deletions bincache/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[package]
name = "bincache"
version = "0.4.3"
version = "0.5.0"
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"]
Expand Down
14 changes: 4 additions & 10 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down

0 comments on commit d75e608

Please sign in to comment.