|
@@ -5,6 +5,17 @@
|
|
|
//! Tauri is a framework for building tiny, blazing fast binaries for all major desktop platforms.
|
|
|
//! Developers can integrate any front-end framework that compiles to HTML, JS and CSS for building their user interface.
|
|
|
//! The backend of the application is a rust-sourced binary with an API that the front-end can interact with.
|
|
|
+//!
|
|
|
+//! # Cargo features
|
|
|
+//!
|
|
|
+//! The following are a list of Cargo features that can be enabled or disabled:
|
|
|
+//!
|
|
|
+//! - **wry** *(enabled by default)*: Enables the [wry](https://github.com/tauri-apps/wry) runtime. Only disable it if you want a custom runtime.
|
|
|
+//! - **menu**: Enables application menus support.
|
|
|
+//! - **reqwest-client**: Uses `reqwest` as HTTP client on the `http` APIs. Improves performance, but increases the bundle size.
|
|
|
+//! - **cli**: Enables usage of `clap` for CLI argument parsing. Enabled by default if the `cli` config is defined on the `tauri.conf.json` file.
|
|
|
+//! - **system-tray**: Enables application system tray API. Enabled by default if the `systemTray` config is defined on the `tauri.conf.json` file.
|
|
|
+//! - **updater**: Enables the application auto updater. Enabled by default if the `updater` config is defined on the `tauri.conf.json` file.
|
|
|
|
|
|
#![warn(missing_docs, rust_2018_idioms)]
|
|
|
#![cfg_attr(doc_cfg, feature(doc_cfg))]
|