diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e67848e..21f8750 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -37,6 +37,20 @@ jobs: - name: Build & Test run: cargo test --workspace ${{ matrix.feature }} + doc-rs: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + components: clippy, rustfmt + - name: Generate Doc + env: + DOCS_RS: 1 + run: cargo doc -v + pre-commit: runs-on: ubuntu-20.04 steps: diff --git a/Cargo.lock b/Cargo.lock index c055cc6..217b8a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,9 +31,9 @@ checksum = "7dfdb4953a096c551ce9ace855a604d702e6e62d77fac690575ae347571717f5" [[package]] name = "bindgen" -version = "0.61.0" +version = "0.62.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a022e58a142a46fea340d68012b9201c094e93ec3d033a944a24f8fd4a4f09a" +checksum = "c6720a8b7b2d39dd533285ed438d458f65b31b5c257e6ac7bb3d7e82844dd722" dependencies = [ "bitflags", "cexpr", @@ -334,7 +334,7 @@ checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" [[package]] name = "openslide-rs" -version = "1.0.0" +version = "1.0.1" dependencies = [ "assert_approx_eq", "bencher", @@ -350,9 +350,9 @@ dependencies = [ [[package]] name = "openslide-sys" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65a5c6630fa3c8b8c3d5d1e47f63ce8d8c9321d85bc8360ac54cfea31d47c53c" +checksum = "857f6a9c3e9c09af01bfde7e77a891e9531fb4f86f2abd1d5f4d478ca1d1accc" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml index d547c09..b227183 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "openslide-rs" edition = "2021" -version = "1.0.0" +version = "1.0.1" authors = ["AzHicham "] description = "Rust bindings of OpenSlide C library" repository = "https://github.com/AzHicham/openslide-rs"