mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 02:09:06 +00:00
chore: update Rust to 2024 edition (#2066)
This commit is contained in:
@@ -3,8 +3,7 @@ name = "tauri-plugin-vpnservice"
|
||||
version = "0.0.0"
|
||||
authors = ["You"]
|
||||
description = ""
|
||||
edition = "2021"
|
||||
rust-version = "1.70"
|
||||
edition.workspace = true
|
||||
exclude = ["/examples", "/webview-dist", "/webview-src", "/node_modules"]
|
||||
links = "tauri-plugin-vpnservice"
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
use serde::{ser::Serializer, Serialize};
|
||||
use serde::{Serialize, ser::Serializer};
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use tauri::{
|
||||
plugin::{Builder, TauriPlugin},
|
||||
Runtime,
|
||||
plugin::{Builder, TauriPlugin},
|
||||
};
|
||||
|
||||
#[cfg(mobile)]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use serde::de::DeserializeOwned;
|
||||
use tauri::{
|
||||
plugin::{PluginApi, PluginHandle},
|
||||
AppHandle, Runtime,
|
||||
plugin::{PluginApi, PluginHandle},
|
||||
};
|
||||
|
||||
use crate::models::*;
|
||||
|
||||
Reference in New Issue
Block a user