Skip to content

Commit

Permalink
Fix Cargo Nightly Docs Intralink Resolution (#122)
Browse files Browse the repository at this point in the history
* Fix Cargo Nightly Docs Intralink Resolution

* Name build steps
  • Loading branch information
lawliet89 authored Nov 6, 2019
1 parent a288794 commit 1a1346c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 5 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,42 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
name: Checkout

- uses: actions-rs/toolchain@v1
name: Verify Rust Toolchain
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy

- uses: actions-rs/cargo@v1
name: Clippy Lint
with:
command: clippy
args: --all-targets --all-features -- -D warnings

- uses: actions-rs/cargo@v1
name: Build
with:
command: build
args: --verbose --all-features

- uses: actions-rs/cargo@v1
name: Unit Tests
with:
command: test
args: --all-features

- uses: actions-rs/cargo@v1
name: Format Check
with:
command: fmt
args: --all -- --check

- uses: actions-rs/cargo@v1
name: Build Documentation
with:
command: doc
args: --no-deps --all-features
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.1 (2019-11-06)

- Fix documentation build on 1.40 Nightly

## 0.4.0 (2019-11-06)

There are no new feature except for some breaking changes to correct some errors.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "biscuit"
version = "0.4.0"
version = "0.4.1"
edition = "2018"
authors = ["Yong Wen Chua <[email protected]>", "Vincent Prouillet <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This was based off [`Keats/rust-jwt`](https://github.com/Keats/rust-jwt).
Add the following to Cargo.toml:

```toml
biscuit = "0.4.0"
biscuit = "0.4.1"
```

To use the latest `master` branch, for example:
Expand Down
4 changes: 2 additions & 2 deletions src/helpers/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
/// Defines whether a claim is validated or not
///
/// The generic type T is used as the "options" for validating claims and is
/// specific to each claim being validated. Refer to [`biscuit::ValidationOptions`]
/// specific to each claim being validated. Refer to [`crate::ValidationOptions`]
/// for the specifics of each claim.
pub enum Validation<T> {
/// This claim is not validated
Ignored,

/// Validate this claim with type T.
/// Refer to [`biscuit::ValidationOptions`] for the specifics of each claim.
/// Refer to [`crate::ValidationOptions`] for the specifics of each claim.
Validate(T),
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
//! Add the following to Cargo.toml:
//!
//! ```toml
//! biscuit = "0.4.0"
//! biscuit = "0.4.1"
//! ```
//!
//! To use the latest `master` branch, for example:
Expand Down

0 comments on commit 1a1346c

Please sign in to comment.