diff --git a/.github/workflows/test-rust.yml b/.github/workflows/test-rust.yml index dcc4b66b9..cc2bcac8e 100644 --- a/.github/workflows/test-rust.yml +++ b/.github/workflows/test-rust.yml @@ -10,21 +10,21 @@ on: - v1 - v2 paths: - - ".github/workflows/test-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" - - "**/Cargo.lock" + - '.github/workflows/test-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' + - '**/Cargo.lock' pull_request: branches: - v1 - v2 paths: - - ".github/workflows/test-rust.yml" - - "plugins/*/src/**" - - "!plugins/*/src/api-iife.js" - - "**/Cargo.toml" - - "**/Cargo.lock" + - '.github/workflows/test-rust.yml' + - 'plugins/*/src/**' + - '!plugins/*/src/api-iife.js' + - '**/Cargo.toml' + - '**/Cargo.lock' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -199,33 +199,33 @@ jobs: - { target: x86_64-pc-windows-msvc, os: windows-latest, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: x86_64-unknown-linux-gnu, os: ubuntu-22.04, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: aarch64-apple-darwin, os: macos-latest, - runner: "cargo", - command: "test", + runner: 'cargo', + command: 'test' } - { target: aarch64-apple-ios, os: macos-latest, - runner: "cargo", - command: "build", + runner: 'cargo', + command: 'build' } - { target: aarch64-linux-android, os: ubuntu-latest, - runner: "cross", - command: "build --verbose", - toolchain: "stable", + runner: 'cross', + command: 'build --verbose', + toolchain: 'stable' } runs-on: ${{ matrix.platform.os }} diff --git a/plugins/secure-storage/src/commands.rs b/plugins/secure-storage/src/commands.rs index b8c373204..ef1e074e4 100644 --- a/plugins/secure-storage/src/commands.rs +++ b/plugins/secure-storage/src/commands.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT -use tauri::{command, AppHandle, Runtime}; +use tauri::{AppHandle, Runtime, command}; use crate::{Result, SecureStorageExt}; diff --git a/plugins/secure-storage/src/error.rs b/plugins/secure-storage/src/error.rs index 7af8ece59..42cb83f59 100644 --- a/plugins/secure-storage/src/error.rs +++ b/plugins/secure-storage/src/error.rs @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT -use serde::{ser::Serializer, Serialize}; +use serde::{Serialize, ser::Serializer}; pub type Result = std::result::Result; diff --git a/plugins/secure-storage/src/lib.rs b/plugins/secure-storage/src/lib.rs index 7b2a88b78..31e395873 100644 --- a/plugins/secure-storage/src/lib.rs +++ b/plugins/secure-storage/src/lib.rs @@ -4,8 +4,8 @@ use keyring::Entry; use tauri::{ - plugin::{Builder, TauriPlugin}, AppHandle, Manager, Runtime, + plugin::{Builder, TauriPlugin}, }; mod commands;