mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 20:48:52 +03:00
chore(docs): document cargo features [skip ci]
This commit is contained in:
parent
a5d821efd5
commit
4937741d33
@ -3,7 +3,7 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
//! The Tauri configuration used at runtime.
|
||||
//! It is pulled from a `tauri.conf.json` file and the [`Config`] struct is generated at compile time.
|
||||
//! It is pulled from a `tauri.conf.json` file and the [`config::Config`] struct is generated at compile time.
|
||||
//!
|
||||
//! # Stability
|
||||
//! This is a core functionality that is not considered part of the stable API.
|
||||
|
@ -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))]
|
||||
|
Loading…
Reference in New Issue
Block a user