Skip to content

Commit

Permalink
fix: build doc on docs.rs (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
AzHicham authored Nov 17, 2022
1 parent b37e840 commit 418eab3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "openslide-rs"
edition = "2021"
version = "1.0.0"
version = "1.0.1"
authors = ["AzHicham <[email protected]>"]
description = "Rust bindings of OpenSlide C library"
repository = "https://github.com/AzHicham/openslide-rs"
Expand Down

1 comment on commit 418eab3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openslide-rs Benchmark

Benchmark suite Current: 418eab3 Previous: d5bdbed Ratio
deepzoom_read_image_256 2340495 ns/iter (± 356874) 2135759 ns/iter (± 26574) 1.10
deepzoom_read_image_512 9893434 ns/iter (± 1033719) 8766107 ns/iter (± 374394) 1.13
openslide_read_image_256 2441128 ns/iter (± 184001) 2055379 ns/iter (± 20741) 1.19
openslide_read_image_512 10320068 ns/iter (± 1093601) 8789640 ns/iter (± 203660) 1.17
openslide_read_region_256 2348616 ns/iter (± 83665) 1977072 ns/iter (± 29977) 1.19
openslide_read_region_512 9948106 ns/iter (± 748668) 8454213 ns/iter (± 202974) 1.18

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.