Skip to content

Commit

Permalink
Version 1.17.0
Browse files Browse the repository at this point in the history
We also add an `all-succeeded` job to ensure that all other jobs pass.
This allows us to mark only that job as required in GitHub.
  • Loading branch information
paholg committed Sep 15, 2023
1 parent 530ec75 commit 4fa80eb
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 24 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ on:
name: CI

jobs:
all-succeeded:
if: always()
runs-on: ubuntu-latest
needs:
- test-linux
- test-non-linux
- lint

steps:
- name: Check if all jubs succeeded
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

test-linux:
name: Test Linux
runs-on: ubuntu-latest
Expand Down Expand Up @@ -67,7 +81,7 @@ jobs:
- run: cargo test --verbose --features "strict" ${{ matrix.mb_const_generics }}
- run: cargo doc --features "strict" ${{ matrix.mb_const_generics }}

clippy:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ against this Rust version.

### Unreleased

### 1.17.0 (2023-09-15)
- [fixed] Build on 32-bit platforms.

### 1.16.0 (2022-12-05)
- [added] `const INT` field to the `ToInt` trait.
- [added] `const-generics` field with `U<N>` mapping where `N` is a const generic.
Expand Down
44 changes: 22 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[package]
name = "typenum"
build = "build/main.rs"
version = "1.16.0" # remember to update html_root_url
authors = [
"Paho Lurie-Gregg <[email protected]>",
"Andre Bogus <[email protected]>"
]
documentation = "https://docs.rs/typenum"
repository = "https://github.com/paholg/typenum"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = """Typenum is a Rust library for type-level numbers evaluated at
name = "typenum"
build = "build/main.rs"
version = "1.17.0" # remember to update html_root_url
authors = [
"Paho Lurie-Gregg <[email protected]>",
"Andre Bogus <[email protected]>",
]
documentation = "https://docs.rs/typenum"
repository = "https://github.com/paholg/typenum"
readme = "README.md"
license = "MIT OR Apache-2.0"
description = """Typenum is a Rust library for type-level numbers evaluated at
compile time. It currently supports bits, unsigned integers, and signed
integers. It also provides a type-level array of type-level numbers, but its
implementation is incomplete."""
categories = ["no-std"]
edition = "2018"
rust-version = "1.37.0"
categories = ["no-std"]
edition = "2018"
rust-version = "1.37.0"

[dependencies]
scale-info = { version = "1.0", default-features = false, optional = true }

[lib]
name = "typenum"
name = "typenum"

[features]
no_std = []
i128 = []
strict = []
force_unix_path_separator = []
const-generics = []
scale_info = ["scale-info/derive"]
no_std = []
i128 = []
strict = []
force_unix_path_separator = []
const-generics = []
scale_info = ["scale-info/derive"]
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
)
)]
#![cfg_attr(feature = "cargo-clippy", deny(clippy::missing_inline_in_public_items))]
#![doc(html_root_url = "https://docs.rs/typenum/1.16.0")]
#![doc(html_root_url = "https://docs.rs/typenum/1.17.0")]

// For debugging macros:
// #![feature(trace_macros)]
Expand Down

0 comments on commit 4fa80eb

Please sign in to comment.