diff --git a/plugins/authenticator/src/lib.rs b/plugins/authenticator/src/lib.rs index 457f403d..92fef471 100644 --- a/plugins/authenticator/src/lib.rs +++ b/plugins/authenticator/src/lib.rs @@ -5,14 +5,13 @@ //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/authenticator/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/authenticator) //! //! Use hardware security-keys in your Tauri App. -//! +//! //! - Supported platforms: Windows, Linux, FreeBSD, NetBSD, OpenBSD, and macOS. #![doc( html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] mod auth; diff --git a/plugins/autostart/src/lib.rs b/plugins/autostart/src/lib.rs index 608611c1..b4338208 100644 --- a/plugins/autostart/src/lib.rs +++ b/plugins/autostart/src/lib.rs @@ -10,7 +10,6 @@ html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] use auto_launch::{AutoLaunch, AutoLaunchBuilder}; diff --git a/plugins/cli/src/lib.rs b/plugins/cli/src/lib.rs index 1ab88510..c666874c 100644 --- a/plugins/cli/src/lib.rs +++ b/plugins/cli/src/lib.rs @@ -5,7 +5,7 @@ //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/cli/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/cli) //! //! Parse arguments from your Command Line Interface. -//! +//! //! - Supported platforms: Windows, Linux and macOS. #![doc( diff --git a/plugins/global-shortcut/src/lib.rs b/plugins/global-shortcut/src/lib.rs index 4bdb186e..96fab9d8 100644 --- a/plugins/global-shortcut/src/lib.rs +++ b/plugins/global-shortcut/src/lib.rs @@ -5,14 +5,13 @@ //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/global-shortcut/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/global-shortcut) //! //! Register global shortcuts. -//! +//! //! - Supported platforms: Windows, Linux and macOS. #![doc( html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] use std::{ diff --git a/plugins/localhost/src/lib.rs b/plugins/localhost/src/lib.rs index c360ce73..c0b42a29 100644 --- a/plugins/localhost/src/lib.rs +++ b/plugins/localhost/src/lib.rs @@ -5,7 +5,7 @@ //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/localhost/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/localhost) //! //! Expose your apps assets through a localhost server instead of the default custom protocol. -//! +//! //! **Note: This plugins brings considerable security risks and you should only use it if you know what your are doing. If in doubt, use the default custom protocol implementation.** #![doc( diff --git a/plugins/log/src/lib.rs b/plugins/log/src/lib.rs index 4992f5a5..4ba428e5 100644 --- a/plugins/log/src/lib.rs +++ b/plugins/log/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/log/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/log) -//! +//! //! Logging for Tauri applications. #![doc( diff --git a/plugins/notification/src/lib.rs b/plugins/notification/src/lib.rs index fd9950d0..b1e28474 100644 --- a/plugins/notification/src/lib.rs +++ b/plugins/notification/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/notification/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/notification) -//! +//! //! Send message notifications (brief auto-expiring OS window element) to your user. Can also be used with the Notification Web API. #![doc( diff --git a/plugins/os/src/lib.rs b/plugins/os/src/lib.rs index 72170f90..fab629d5 100644 --- a/plugins/os/src/lib.rs +++ b/plugins/os/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/os/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/os) -//! +//! //! Read information about the operating system. #![doc( diff --git a/plugins/persisted-scope/src/lib.rs b/plugins/persisted-scope/src/lib.rs index 3bb31e07..7e3be977 100644 --- a/plugins/persisted-scope/src/lib.rs +++ b/plugins/persisted-scope/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/persisted-scope/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/persisted-scope) -//! +//! //! Save filesystem and asset scopes and restore them when the app is reopened. #![doc( diff --git a/plugins/positioner/src/lib.rs b/plugins/positioner/src/lib.rs index 1a337944..0a412d9a 100644 --- a/plugins/positioner/src/lib.rs +++ b/plugins/positioner/src/lib.rs @@ -4,20 +4,19 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/positioner/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/positioner) -//! +//! //! A plugin for Tauri that helps position your windows at well-known locations. //! //! # Cargo features //! //! - **system-tray**: Enables system-tray-relative positions. -//! +//! //! Note: This requires attaching the Tauri plugin, *even* when using the trait extension only. #![doc( html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] mod ext; diff --git a/plugins/process/src/lib.rs b/plugins/process/src/lib.rs index bfc40864..2de82914 100644 --- a/plugins/process/src/lib.rs +++ b/plugins/process/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/process/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/process) -//! +//! //! This plugin provides APIs to access the current process. To spawn child processes, see the [`shell`](https://github.com/tauri-apps/tauri-plugin-shell) plugin. #![doc( diff --git a/plugins/shell/src/lib.rs b/plugins/shell/src/lib.rs index eda8e1d6..fbc2683f 100644 --- a/plugins/shell/src/lib.rs +++ b/plugins/shell/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/shell/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/shell) -//! +//! //! Access the system shell. Allows you to spawn child processes and manage files and URLs using their default application. #![doc( diff --git a/plugins/single-instance/src/lib.rs b/plugins/single-instance/src/lib.rs index 9f28c937..715c894e 100644 --- a/plugins/single-instance/src/lib.rs +++ b/plugins/single-instance/src/lib.rs @@ -3,14 +3,13 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/single-instance/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/single-instance) -//! +//! //! Ensure a single instance of your tauri app is running. #![doc( html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] use tauri::{plugin::TauriPlugin, AppHandle, Manager, Runtime}; diff --git a/plugins/sql/src/lib.rs b/plugins/sql/src/lib.rs index 74f8a37c..f25ede21 100644 --- a/plugins/sql/src/lib.rs +++ b/plugins/sql/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/sql/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/sql) -//! +//! //! Interface with SQL databases through [sqlx](https://github.com/launchbadge/sqlx). It supports the `sqlite`, `mysql` and `postgres` drivers, enabled by a Cargo feature. #![doc( diff --git a/plugins/store/src/lib.rs b/plugins/store/src/lib.rs index b3b250b0..3569f273 100644 --- a/plugins/store/src/lib.rs +++ b/plugins/store/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/store/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/store) -//! +//! //! Simple, persistent key-value store. #![doc( diff --git a/plugins/stronghold/src/lib.rs b/plugins/stronghold/src/lib.rs index 4f15f137..96489c84 100644 --- a/plugins/stronghold/src/lib.rs +++ b/plugins/stronghold/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/stronghold/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/stronghold) -//! +//! //! Store secrets and keys using the [IOTA Stronghold](https://github.com/iotaledger/stronghold.rs) encrypted database and secure runtime. #![doc( diff --git a/plugins/updater/src/lib.rs b/plugins/updater/src/lib.rs index a1b8e89d..e9de6643 100644 --- a/plugins/updater/src/lib.rs +++ b/plugins/updater/src/lib.rs @@ -3,9 +3,9 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/updater/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/updater) -//! +//! //! In-app updates for Tauri applications. -//! +//! //! - Supported platforms: Windows, Linux and macOS.crypted database and secure runtime. #![doc( diff --git a/plugins/upload/src/lib.rs b/plugins/upload/src/lib.rs index d3a49ce9..fb139a3e 100644 --- a/plugins/upload/src/lib.rs +++ b/plugins/upload/src/lib.rs @@ -3,9 +3,9 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/upload/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/upload) -//! +//! //! Upload files from disk to a remote server over HTTP. -//! +//! //! Download files from a remote HTTP server to disk. #![doc( diff --git a/plugins/websocket/src/lib.rs b/plugins/websocket/src/lib.rs index dba8652d..31d744c3 100644 --- a/plugins/websocket/src/lib.rs +++ b/plugins/websocket/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/websocket/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/websocket) -//! +//! //! Expose a WebSocket server to your Tauri frontend. #![doc( diff --git a/plugins/window-state/src/lib.rs b/plugins/window-state/src/lib.rs index 4ec3f3d8..98d58a9f 100644 --- a/plugins/window-state/src/lib.rs +++ b/plugins/window-state/src/lib.rs @@ -3,14 +3,13 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/window-state/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/window-state) -//! +//! //! Save window positions and sizes and restore them when the app is reopened. #![doc( html_logo_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png", html_favicon_url = "https://github.com/tauri-apps/tauri/raw/dev/app-icon.png" )] - #![cfg(not(any(target_os = "android", target_os = "ios")))] use bitflags::bitflags; diff --git a/plugins/window/src/lib.rs b/plugins/window/src/lib.rs index fb52fb4c..b1165fb1 100644 --- a/plugins/window/src/lib.rs +++ b/plugins/window/src/lib.rs @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT //! [![](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/window/banner.png)](https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/window) -//! +//! //! Interact with the Tauri window. #![doc(