diff --git a/.github/workflows/rust-windows.yml b/.github/workflows/rust-windows.yml index f62b6d3..45f9030 100644 --- a/.github/workflows/rust-windows.yml +++ b/.github/workflows/rust-windows.yml @@ -16,7 +16,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Build run: cargo build --verbose + + - name: Run fmt + run: cargo fmt --all -- --check + - name: Run tests run: cargo test --verbose diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3c13d1b..08c4a22 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,12 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Build run: cargo build --verbose + + - name: Run fmt + run: cargo fmt --all -- --check + - name: Run tests run: cargo test --verbose diff --git a/Cargo.toml b/Cargo.toml index d794321..4d9e65c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "m3u8-rs" -version = "2.0.0" +version = "2.1.0" authors = ["Rutger"] readme = "README.md" repository = "https://github.com/rutgersc/m3u8-rs" diff --git a/README.md b/README.md index a4ff161..6001f2f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# m3u8-rs +# m3u8-rs +![crates.io](https://img.shields.io/crates/v/m3u8-rs.svg) + A Rust library for parsing m3u8 playlists (HTTP Live Streaming) [link](https://tools.ietf.org/html/draft-pantos-http-live-streaming-19). Uses the [`nom` library](https://github.com/Geal/nom) for all of the parsing.