fixes for workspace split

This commit is contained in:
Scott Lamb 2022-07-13 11:17:28 -07:00
parent d75d5585f5
commit 978d0d7791
2 changed files with 8 additions and 8 deletions

View File

@ -41,16 +41,16 @@ jobs:
run: cargo test --all-features --all-targets --workspace run: cargo test --all-features --all-targets --workspace
- name: Check fuzz tests - name: Check fuzz tests
run: cd fuzz && cargo check --workspace run: cd fuzz && cargo check --workspace
- name: Check main crate formatting - name: Check main workspace formatting
if: matrix.rust == 'stable' if: matrix.rust == 'stable'
run: cargo fmt -- --check run: cargo fmt --all --check
- name: Check fuzz crate formatting - name: Check fuzz worspace formatting
if: matrix.rust == 'stable' if: matrix.rust == 'stable'
run: cd fuzz && cargo fmt -- --check --all run: cd fuzz && cargo fmt --all --check
- name: Clippy on main crate - name: Clippy on main workspace
if: matrix.rust == 'stable' if: matrix.rust == 'stable'
run: cargo clippy --workspace -- -D warnings run: cargo clippy --workspace -- -D warnings
- name: Clippy on fuzz crate - name: Clippy on fuzz workspace
if: matrix.rust == 'stable' if: matrix.rust == 'stable'
run: cd fuzz && cargo clippy --workspace -- -D warnings run: cd fuzz && cargo clippy --workspace -- -D warnings

View File

@ -64,7 +64,7 @@ Try the `mp4` example. It streams from an RTSP server to a `.mp4` file until
you hit ctrl-C. you hit ctrl-C.
```shell ```shell
$ cargo run --example client mp4 --url rtsp://ip.address.goes.here/ --username admin --password test out.mp4 $ cargo run --package client mp4 --url rtsp://ip.address.goes.here/ --username admin --password test out.mp4
... ...
^C ^C
``` ```
@ -72,7 +72,7 @@ $ cargo run --example client mp4 --url rtsp://ip.address.goes.here/ --username a
## Example client ## Example client
```shell ```shell
$ cargo run --example client <CMD> $ cargo run --package client <CMD>
``` ```
Where CMD: Where CMD: