From 978d0d7791780030cb16d1696c67a7a74576e3f2 Mon Sep 17 00:00:00 2001 From: Scott Lamb Date: Wed, 13 Jul 2022 11:17:28 -0700 Subject: [PATCH] fixes for workspace split --- .github/workflows/ci.yml | 12 ++++++------ README.md | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) 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: