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