diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f33dfa712..d13052763 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -37,7 +37,7 @@ jobs: - name: Check examples run: cargo check --examples - name: Lint - run: cargo clippy --workspace --examples --features docs -- -D warnings + run: cargo clippy --workspace --examples --features "docs, use_camera" -- -D warnings - name: Format run: cargo +nightly fmt --all --check -- --error-on-unformatted --unstable-features - name: Run Linux tests diff --git a/crates/hooks/src/use_camera.rs b/crates/hooks/src/use_camera.rs index 5e181aa69..ef0d6e864 100644 --- a/crates/hooks/src/use_camera.rs +++ b/crates/hooks/src/use_camera.rs @@ -16,7 +16,6 @@ use dioxus_hooks::{ use_signal, }; use dioxus_signals::{ - CopyValue, ReadOnlySignal, Readable, Signal, @@ -40,7 +39,6 @@ use nokhwa::{ }; use crate::{ - use_node, use_node_with_reference, use_platform, };