Skip to content

Commit

Permalink
Merge pull request #259 from biscuit-auth/6.0.0-alpha1
Browse files Browse the repository at this point in the history
biscuit-auth 6.0.0-alpha1
  • Loading branch information
divarvel authored Jan 17, 2025
2 parents e3eb17a + 289294b commit f4473ee
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup rust toolchain, cache and cargo-codspeed binary
uses: moonrepo/setup-rust@v0
uses: moonrepo/setup-rust@v1
with:
channel: stable
cache-target: release
Expand All @@ -26,7 +26,7 @@ jobs:
run: cargo codspeed build -p biscuit-auth

- name: Run the benchmarks
uses: CodSpeedHQ/action@v2
uses: CodSpeedHQ/action@v3
with:
run: cargo codspeed run -p biscuit-auth
token: ${{ secrets.CODSPEED_TOKEN }}
token: ${{ secrets.CODSPEED_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -57,15 +57,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Cache
uses: Swatinem/rust-cache@v1
uses: Swatinem/rust-cache@v2
- name: Install cargo-tarpaulin
uses: actions-rs/cargo@v1
with:
Expand All @@ -77,7 +77,7 @@ jobs:
command: tarpaulin
args: --output-dir coverage --out xml --workspace --features serde-error --tests --example testcases --example third_party
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: biscuit-auth/biscuit-rust
6 changes: 3 additions & 3 deletions biscuit-auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit-auth"
version = "5.0.0"
version = "6.0.0-alpha.1"
description = "an authorization token with decentralized verification and offline attenuation"
authors = ["Geoffroy Couprie <contact@geoffroycouprie.com>"]
edition = "2018"
Expand Down Expand Up @@ -43,8 +43,8 @@ serde = { version = "1.0.132", optional = true, features = ["derive"] }
getrandom = { version = "0.1.16" }
time = { version = "0.3.7", features = ["formatting", "parsing"] }
uuid = { version = "1", optional = true }
biscuit-parser = { version = "0.1.2", path = "../biscuit-parser" }
biscuit-quote = { version = "0.2.2", optional = true, path = "../biscuit-quote" }
biscuit-parser = { version = "0.2.0-alpha.1", path = "../biscuit-parser" }
biscuit-quote = { version = "0.3.0-alpha.1", optional = true, path = "../biscuit-quote" }
chrono = { version = "0.4.26", optional = true, default-features = false, features = [
"serde",
] }
Expand Down
4 changes: 2 additions & 2 deletions biscuit-capi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit-capi"
version = "5.0.0" # Should keep the same version as biscuit-auth
version = "6.0.0-alpha.1" # Should keep the same version as biscuit-auth
description = "C API for Biscuit"
authors = ["Geoffroy Couprie <contact@geoffroycouprie.com>"]
edition = "2018"
Expand All @@ -10,7 +10,7 @@ homepage = "https://github.com/biscuit-auth/biscuit"
repository = "https://github.com/biscuit-auth/biscuit-rust"

[dependencies]
biscuit-auth = { version = "5.0.0", path = "../biscuit-auth", features = [
biscuit-auth = { version = "6.0.0-alpha.1", path = "../biscuit-auth", features = [
"datalog-macro",
"serde-error",
] }
Expand Down
2 changes: 1 addition & 1 deletion biscuit-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit-parser"
version = "0.1.2"
version = "0.2.0-alpha.1"
edition = "2021"
authors = ["Clément Delafargue <clement@delafargue.name>", "Geoffroy Couprie <contact@geoffroycouprie.com>"]
description = "Datalog parser used in the biscuit-auth and biscuit-quote crates"
Expand Down
4 changes: 2 additions & 2 deletions biscuit-quote/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit-quote"
version = "0.2.2"
version = "0.3.0-alpha.1"
edition = "2021"
description = "macros for compile time datalog parsing for Biscuit authorization tokens"
authors = ["Clément Delafargue <clement@delafargue.name>", "Geoffroy Couprie <contact@geoffroycouprie.com>"]
Expand All @@ -10,7 +10,7 @@ license = "Apache-2.0"
proc-macro = true

[dependencies]
biscuit-parser = { path = "../biscuit-parser", features = ["datalog-macro"], version = "0.1.2" }
biscuit-parser = { path = "../biscuit-parser", features = ["datalog-macro"], version = "0.2.0-alpha.1" }
proc-macro2 = "1"
quote = "1.0.14"
syn = { version = "1.0.85", features = ["full", "extra-traits"] }
Expand Down

0 comments on commit f4473ee

Please sign in to comment.