mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-21 11:26:15 +02:00
clippy
This commit is contained in:
@@ -200,25 +200,29 @@ jobs:
|
||||
target: x86_64-pc-windows-msvc,
|
||||
os: windows-latest,
|
||||
runner: 'cargo',
|
||||
command: 'test'
|
||||
command: 'test',
|
||||
toolchain: '1.77.2'
|
||||
}
|
||||
- {
|
||||
target: x86_64-unknown-linux-gnu,
|
||||
os: ubuntu-22.04,
|
||||
runner: 'cargo',
|
||||
command: 'test'
|
||||
command: 'test',
|
||||
toolchain: '1.77.2'
|
||||
}
|
||||
- {
|
||||
target: aarch64-apple-darwin,
|
||||
os: macos-latest,
|
||||
runner: 'cargo',
|
||||
command: 'test'
|
||||
command: 'test',
|
||||
toolchain: '1.77.2'
|
||||
}
|
||||
- {
|
||||
target: aarch64-apple-ios,
|
||||
os: macos-latest,
|
||||
runner: 'cargo',
|
||||
command: 'build'
|
||||
command: 'build',
|
||||
toolchain: '1.77.2'
|
||||
}
|
||||
- {
|
||||
target: aarch64-linux-android,
|
||||
@@ -241,7 +245,7 @@ jobs:
|
||||
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: ${{ matrix.platform.toolchain || "1.77.2" }}
|
||||
toolchain: ${{ matrix.platform.toolchain }}
|
||||
targets: ${{ matrix.platform.target }}
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
@@ -7,6 +7,7 @@ use serde::{de::Error as DeError, Deserialize, Deserializer};
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// A command allowed to be executed by the webview API.
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||
pub(crate) struct Entry {
|
||||
pub(crate) name: String,
|
||||
@@ -15,6 +16,7 @@ pub(crate) struct Entry {
|
||||
pub(crate) sidecar: bool,
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Deserialize)]
|
||||
pub(crate) struct EntryRaw {
|
||||
pub(crate) name: String,
|
||||
|
||||
Reference in New Issue
Block a user