mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-24 21:40:48 +02:00
fmt
This commit is contained in:
@@ -10,21 +10,21 @@ on:
|
|||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/test-rust.yml"
|
- '.github/workflows/test-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- v1
|
- v1
|
||||||
- v2
|
- v2
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/test-rust.yml"
|
- '.github/workflows/test-rust.yml'
|
||||||
- "plugins/*/src/**"
|
- 'plugins/*/src/**'
|
||||||
- "!plugins/*/src/api-iife.js"
|
- '!plugins/*/src/api-iife.js'
|
||||||
- "**/Cargo.toml"
|
- '**/Cargo.toml'
|
||||||
- "**/Cargo.lock"
|
- '**/Cargo.lock'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
@@ -199,33 +199,33 @@ 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'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
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'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-apple-darwin,
|
target: aarch64-apple-darwin,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: "cargo",
|
runner: 'cargo',
|
||||||
command: "test",
|
command: 'test'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-apple-ios,
|
target: aarch64-apple-ios,
|
||||||
os: macos-latest,
|
os: macos-latest,
|
||||||
runner: "cargo",
|
runner: 'cargo',
|
||||||
command: "build",
|
command: 'build'
|
||||||
}
|
}
|
||||||
- {
|
- {
|
||||||
target: aarch64-linux-android,
|
target: aarch64-linux-android,
|
||||||
os: ubuntu-latest,
|
os: ubuntu-latest,
|
||||||
runner: "cross",
|
runner: 'cross',
|
||||||
command: "build --verbose",
|
command: 'build --verbose',
|
||||||
toolchain: "stable",
|
toolchain: 'stable'
|
||||||
}
|
}
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform.os }}
|
runs-on: ${{ matrix.platform.os }}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use tauri::{command, AppHandle, Runtime};
|
use tauri::{AppHandle, Runtime, command};
|
||||||
|
|
||||||
use crate::{Result, SecureStorageExt};
|
use crate::{Result, SecureStorageExt};
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use serde::{ser::Serializer, Serialize};
|
use serde::{Serialize, ser::Serializer};
|
||||||
|
|
||||||
pub type Result<T> = std::result::Result<T, Error>;
|
pub type Result<T> = std::result::Result<T, Error>;
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
use keyring::Entry;
|
use keyring::Entry;
|
||||||
use tauri::{
|
use tauri::{
|
||||||
plugin::{Builder, TauriPlugin},
|
|
||||||
AppHandle, Manager, Runtime,
|
AppHandle, Manager, Runtime,
|
||||||
|
plugin::{Builder, TauriPlugin},
|
||||||
};
|
};
|
||||||
|
|
||||||
mod commands;
|
mod commands;
|
||||||
|
|||||||
Reference in New Issue
Block a user