diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 987ebac..a50d29e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,16 +41,16 @@ jobs: run: cargo test --all-features --all-targets --workspace - name: Check fuzz tests run: cd fuzz && cargo check --workspace - - name: Check main crate formatting + - name: Check main workspace formatting if: matrix.rust == 'stable' - run: cargo fmt -- --check - - name: Check fuzz crate formatting + run: cargo fmt --all --check + - name: Check fuzz worspace formatting if: matrix.rust == 'stable' - run: cd fuzz && cargo fmt -- --check --all - - name: Clippy on main crate + run: cd fuzz && cargo fmt --all --check + - name: Clippy on main workspace if: matrix.rust == 'stable' run: cargo clippy --workspace -- -D warnings - - name: Clippy on fuzz crate + - name: Clippy on fuzz workspace if: matrix.rust == 'stable' run: cd fuzz && cargo clippy --workspace -- -D warnings diff --git a/README.md b/README.md index 69f19aa..bcdae1d 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ Try the `mp4` example. It streams from an RTSP server to a `.mp4` file until you hit ctrl-C. ```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 ``` @@ -72,7 +72,7 @@ $ cargo run --example client mp4 --url rtsp://ip.address.goes.here/ --username a ## Example client ```shell -$ cargo run --example client +$ cargo run --package client ``` Where CMD: