Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–479 unchanged (479 lines)
480 /// The required dimensions are 493px × 58px.
481 #[serde(alias = "banner-path")]
482 pub banner_path: Option<PathBuf>,
483 /// Path to a bitmap file to use on the installation user interface dialogs.
484 /// It is used on the welcome and completion dialogs.
485
486 /// The required dimensions are 493px × 312px.
487 #[serde(alias = "dialog-image-path")]
488 pub dialog_image_path: Option<PathBuf>,
489}
490
491/// Compression algorithms used in the NSIS installer.
492///
…lines 493–3190 unchanged (2698 lines)

After

…lines 1–478 unchanged (478 lines)
479 ///
480 /// The required dimensions are 493px × 58px.
481 #[serde(alias = "banner-path")]
482 pub banner_path: Option<PathBuf>,
483 /// Path to a bitmap file to use on the installation user interface dialogs.
484 /// It is used on the welcome and completion dialogs.
485 ///
486 /// The required dimensions are 493px × 312px.
487 #[serde(alias = "dialog-image-path")]
488 pub dialog_image_path: Option<PathBuf>,
489}
490
491/// Compression algorithms used in the NSIS installer.
…lines 492–3190 unchanged (2699 lines)

Before

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " The Tauri configuration used at runtime.\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " It is pulled from a `tauri.conf.json` file and the [`Config"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " # Stability\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " This is a core functionality that is not considered part of"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " If you use it, note that it may include breaking changes in"...
use_declaration
use "use"
scoped_identifier
identifier "semver"
:: "::"
identifier "Version"
; ";"
use_declaration (+30 nodes collapsed)
use_declaration
use "use"
use_as_clause
scoped_identifier
identifier "serde_json"
:: "::"
identifier "Value"
as "as"
identifier "JsonValue"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "serde_with"
:: "::"
identifier "skip_serializing_none"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "url"
:: "::"
identifier "Url"
; ";"
use_declaration (+39 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Items to help with parsing content into a [`Config`].\n"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "parse"
; ";"
function_item
fn "fn"
identifier "default_true"
parameters
( "("
) ")"
-> "->"
primitive_type "bool"
block
{ "{"
boolean_literal
true "true"
} "}"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " An URL to open on a Tauri webview window.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+42 nodes collapsed)
impl_item (+108 nodes collapsed)
impl_item (+38 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A bundle referenced by tauri-bundler.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item (+26 nodes collapsed)
enum_item (+64 nodes collapsed)
impl_item (+130 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+257 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Targets to bundle. Each value is case insensitive.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
enum_item (+45 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schemars"
" "\""
) ")"
] "]"
trait_item (+30 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
scoped_identifier
identifier "schemars"
:: "::"
identifier "schema"
:: "::"
use_list
{ "{"
identifier "Metadata"
, ","
identifier "Schema"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+105 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+64 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+49 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+168 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
function_item (+99 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+398 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+142 nodes collapsed)
impl_item (+269 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for AppImage bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#appimageconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+42 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for Debian (.deb) bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#debconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+147 nodes collapsed)
function_item (+123 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the macOS bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#macconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+246 nodes collapsed)
impl_item (+63 nodes collapsed)
function_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for a target language for the WiX build.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#wixlanguageconfig"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+40 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The languages to build using WiX.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
enum_item (+56 nodes collapsed)
impl_item (+38 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the MSI bundle using WiX.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#wixconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "WixConfig"
field_declaration_list
{ "{"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The installer languages to build. See <https://docs.microso"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "language"
: ":"
type_identifier "WixLanguage"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A custom .wxs template to use.\n"
field_declaration
visibility_modifier
pub "pub"
field_identifier "template"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A list of paths to .wxs files with WiX fragments to use.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "fragment-paths"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "fragment_paths"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The ComponentGroup element ids you want to reference from t"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "component-group-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "component_group_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Component element ids you want to reference from the fr"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "component-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "component_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The FeatureGroup element ids you want to reference from the"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "feature-group-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "feature_group_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Feature element ids you want to reference from the frag"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "feature-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "feature_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Merge element ids you want to reference from the fragme"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "merge-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "merge_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Disables the Webview2 runtime installation after app instal"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Will be removed in v2, prefer the [`WindowsConfig::webview_"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "skip-webview-install"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "skip_webview_install"
: ":"
primitive_type "bool"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The path to the license file to render on the installer.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Must be an RTF file, so if a different extension is provide"...
field_declaration
visibility_modifier
pub "pub"
field_identifier "license"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Create an elevated update task within Windows Task Schedule"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "enable-elevated-update-task"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "enable_elevated_update_task"
: ":"
primitive_type "bool"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Path to a bitmap file to use as the installation user inter"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " This bitmap will appear at the top of all but the first pag"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The required dimensions are 493px × 58px.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "alias"
= "="
string_literal
" "\""
string_content "banner-path"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "banner_path"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Path to a bitmap file to use on the installation user inter"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is used on the welcome and completion dialogs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The required dimensions are 493px × 312px.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "alias"
= "="
string_literal
" "\""
string_content "dialog-image-path"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "dialog_image_path"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
} "}"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Compression algorithms used in the NSIS installer.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://nsis.sourceforge.io/Reference/SetCompressor>\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
enum_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the Installer bundle using NSIS.\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+339 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install Modes for the NSIS installer.\n"
attribute_item (+22 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+87 nodes collapsed)
impl_item (+23 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install modes for the Webview2 runtime.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Note that for the updater bundle [`Self::DownloadBootstrapp"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " For more information see <https://tauri.app/v1/guides/build"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
, ","
identifier "Deserialize"
) ")"
] "]"
attribute_item (+24 nodes collapsed)
attribute_item (+23 nodes collapsed)
enum_item (+195 nodes collapsed)
impl_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Windows bundler configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowsconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+310 nodes collapsed)
impl_item (+78 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Definition for bundle resources.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Can be either a list of paths to include or a map of source"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+44 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for tauri-bundler.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#bundleconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+455 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A CLI argument definition.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+935 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " describes a CLI configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#cliconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+187 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The window configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+1037 nodes collapsed)
impl_item (+236 nodes collapsed)
function_item (+22 nodes collapsed)
function_item
fn "fn"
identifier "default_width"
parameters
( "("
) ")"
-> "->"
primitive_type "f64"
block
{ "{"
integer_literal "800f64"
} "}"
function_item
fn "fn"
identifier "default_height"
parameters
( "("
) ")"
-> "->"
primitive_type "f64"
block
{ "{"
integer_literal "600f64"
} "}"
function_item (+22 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A Content-Security-Policy directive source list.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://developer.mozilla.org/en-US/docs/Web/HTTP/Head"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+35 nodes collapsed)
impl_item (+101 nodes collapsed)
impl_item (+252 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A Content-Security-Policy definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+39 nodes collapsed)
impl_item (+51 nodes collapsed)
impl_item (+217 nodes collapsed)
impl_item (+218 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The possible values for the `dangerous_disable_asset_csp_mo"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+42 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " External command access definition.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+122 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Security configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#securityconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+333 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines an allowlist type.\n"
trait_item (+59 nodes collapsed)
macro_definition (+51 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Filesystem scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of glob patterns that restrict the API access "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Each pattern can start with a variable that resolves to a s"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTU"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+168 nodes collapsed)
impl_item (+35 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the file system APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#fsallowlistconfig"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+306 nodes collapsed)
impl_item (+366 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the window APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowallowlistco"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+917 nodes collapsed)
impl_item (+930 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A command allowed to be executed by the webview API.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
struct_item (+135 nodes collapsed)
impl_item (+255 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A set of command arguments allowed to be executed by the we"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A value of `true` will allow any arguments to be passed to "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " arguments. A list of [`ShellAllowedArg`] will set those arg"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " be passed to the attached command configuration.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A command argument allowed to be executed by the webview AP"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+71 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Shell scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of command names and associated CLI arguments "...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "ShellAllowlistScope"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "ShellAllowedCommand"
> ">"
) ")"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines the `shell > open` api scope.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+57 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the shell APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#shellallowlistcon"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+133 nodes collapsed)
impl_item (+250 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the dialog APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#dialogallowlistco"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+140 nodes collapsed)
impl_item (+258 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " HTTP API scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of URLs that can be accessed by the webview wh"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The scoped URL is matched against the request URL using a g"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Examples:\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://*\": allows all HTTPS urls\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://*.github.com/tauri-apps/tauri\": allows any subdo"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://myapi.service.com/users/*\": allows access to any"...
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "rustdoc"
:: "::"
identifier "bare_urls"
) ")"
] "]"
attribute_item (+22 nodes collapsed)
line_comment
// "//"
line_comment
// "//"
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "HttpAllowlistScope"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "Url"
> ">"
) ")"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the HTTP APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#httpallowlistconf"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+74 nodes collapsed)
impl_item (+174 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the notification APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#notificationallow"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the global shortcut APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#globalshortcutall"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the OS APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#osallowlistconfig"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the path APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#pathallowlistconf"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the custom protocols.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#protocolallowlist"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+81 nodes collapsed)
impl_item (+174 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the process APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#processallowlistc"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+125 nodes collapsed)
impl_item (+210 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the clipboard APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#clipboardallowlis"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+88 nodes collapsed)
impl_item (+186 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the app APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#appallowlistconfi"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+74 nodes collapsed)
impl_item (+186 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist configuration. The allowlist is a translation of "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " # Notes\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - Endpoints that don't have their own allowlist option are "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - There is only \"opt-in\", no \"opt-out\". Setting an option t"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " # Examples\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - * [`\"app-all\": true`](https://tauri.app/v1/api/config/#ap"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+323 nodes collapsed)
impl_item (+617 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The application pattern.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
, ","
identifier "Deserialize"
) ")"
] "]"
attribute_item (+29 nodes collapsed)
attribute_item (+23 nodes collapsed)
enum_item (+37 nodes collapsed)
impl_item (+23 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#tauriconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Default"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+230 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A URL to an updater server.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The URL must use the `https` scheme on production.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "UpdaterEndpoint"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "Url"
) ")"
; ";"
impl_item (+71 nodes collapsed)
impl_item (+175 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install modes for the Windows update.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item (+26 nodes collapsed)
enum_item (+41 nodes collapsed)
impl_item (+94 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+189 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The updater configuration for Windows.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#updaterwindowscon"...
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+71 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Updater configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#updaterconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+182 nodes collapsed)
impl_item (+276 nodes collapsed)
impl_item (+67 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for application system tray icon.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#systemtrayconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+115 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines the URL or assets to embed in the application.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+123 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Describes the shell command to run before `tauri dev`.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+76 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Describes a shell command to be executed when a CLI hook is"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+56 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Build configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#buildconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+350 nodes collapsed)
impl_item (+73 nodes collapsed)
function_item (+47 nodes collapsed)
function_item (+38 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
struct_item
struct "struct"
type_identifier "PackageVersion"
ordered_field_declaration_list
( "("
type_identifier "String"
) ")"
; ";"
impl_item (+564 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The package configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#packageconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+108 nodes collapsed)
function_item (+99 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is read from a file where you can define your frontend a"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " configure the bundler, enable the app updater, define a sys"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " enable APIs via the allowlist and more.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The configuration file is generated by the\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " [`tauri init`](https://tauri.app/v1/api/cli#init) command t"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " your Tauri application source directory (src-tauri).\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Once generated, you may modify it at will to customize your"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## File Formats\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " By default, the configuration is defined as a JSON file nam"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Tauri also supports JSON5 and TOML files via the `config-js"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The JSON5 file name must be either `tauri.conf.json` or `ta"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The TOML file name is `Tauri.toml`.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## Platform-Specific Configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " In addition to the default configuration file, Tauri can\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " read a platform-specific configuration from `tauri.linux.co"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `tauri.windows.conf.json`, and `tauri.macos.conf.json`\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " (or `Tauri.linux.toml`, `Tauri.windows.toml` and `Tauri.mac"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " which gets merged with the main configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## Configuration Structure\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The configuration is composed of the following objects:\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`package`](#packageconfig): Package settings\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`tauri`](#tauriconfig): The Tauri config\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`build`](#buildconfig): The build configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`plugins`](#pluginconfig): The plugins config\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ```json title=\"Example tauri.config.json file\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"build\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"beforeBuildCommand\": \"\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"beforeDevCommand\": \"\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"devPath\": \"../dist\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"distDir\": \"../dist\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"package\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"productName\": \"tauri-app\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"version\": \"0.1.0\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"tauri\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"allowlist\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"all\": true\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"bundle\": {},\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"security\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"csp\": null\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"updater\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"active\": false\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"windows\": [\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"fullscreen\": false,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"height\": 600,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"resizable\": true,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"title\": \"Tauri App\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"width\": 800\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ]\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ```\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Default"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+133 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The plugin configs holds a HashMap mapping a plugin name to"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#pluginconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "PluginConfig"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "HashMap"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "JsonValue"
> ">"
) ")"
; ";"
function_item (+65 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " How the window title bar should be displayed on macOS.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+67 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+147 nodes collapsed)
impl_item (+94 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " System theme.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Copy"
, ","
identifier "Clone"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+24 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+135 nodes collapsed)
impl_item (+85 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "test"
) ")"
] "]"
mod_item (+646 nodes collapsed)

After

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " The Tauri configuration used at runtime.\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " It is pulled from a `tauri.conf.json` file and the [`Config"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment "\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " # Stability\n"
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " This is a core functionality that is not considered part of"...
line_comment
// "//"
inner_doc_comment_marker
! "!"
doc_comment " If you use it, note that it may include breaking changes in"...
use_declaration
use "use"
scoped_identifier
identifier "semver"
:: "::"
identifier "Version"
; ";"
use_declaration (+30 nodes collapsed)
use_declaration
use "use"
use_as_clause
scoped_identifier
identifier "serde_json"
:: "::"
identifier "Value"
as "as"
identifier "JsonValue"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "serde_with"
:: "::"
identifier "skip_serializing_none"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "url"
:: "::"
identifier "Url"
; ";"
use_declaration (+39 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Items to help with parsing content into a [`Config`].\n"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "parse"
; ";"
function_item
fn "fn"
identifier "default_true"
parameters
( "("
) ")"
-> "->"
primitive_type "bool"
block
{ "{"
boolean_literal
true "true"
} "}"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " An URL to open on a Tauri webview window.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+42 nodes collapsed)
impl_item (+108 nodes collapsed)
impl_item (+38 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A bundle referenced by tauri-bundler.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item (+26 nodes collapsed)
enum_item (+64 nodes collapsed)
impl_item (+130 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+257 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Targets to bundle. Each value is case insensitive.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
enum_item (+45 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schemars"
" "\""
) ")"
] "]"
trait_item (+30 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
use_declaration
use "use"
scoped_use_list
scoped_identifier
identifier "schemars"
:: "::"
identifier "schema"
:: "::"
use_list
{ "{"
identifier "Metadata"
, ","
identifier "Schema"
} "}"
; ";"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+105 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+64 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+49 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+168 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
function_item (+99 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "feature"
= "="
string_literal
" "\""
string_content "schema"
" "\""
) ")"
] "]"
impl_item (+398 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+142 nodes collapsed)
impl_item (+269 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for AppImage bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#appimageconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+42 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for Debian (.deb) bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#debconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+147 nodes collapsed)
function_item (+123 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the macOS bundles.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#macconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+246 nodes collapsed)
impl_item (+63 nodes collapsed)
function_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for a target language for the WiX build.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#wixlanguageconfig"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+40 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The languages to build using WiX.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
enum_item (+56 nodes collapsed)
impl_item (+38 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the MSI bundle using WiX.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#wixconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "WixConfig"
field_declaration_list
{ "{"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The installer languages to build. See <https://docs.microso"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "language"
: ":"
type_identifier "WixLanguage"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A custom .wxs template to use.\n"
field_declaration
visibility_modifier
pub "pub"
field_identifier "template"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A list of paths to .wxs files with WiX fragments to use.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "fragment-paths"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "fragment_paths"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The ComponentGroup element ids you want to reference from t"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "component-group-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "component_group_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Component element ids you want to reference from the fr"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "component-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "component_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The FeatureGroup element ids you want to reference from the"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "feature-group-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "feature_group_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Feature element ids you want to reference from the frag"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "feature-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "feature_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Merge element ids you want to reference from the fragme"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "merge-refs"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "merge_refs"
: ":"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "String"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Disables the Webview2 runtime installation after app instal"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Will be removed in v2, prefer the [`WindowsConfig::webview_"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "skip-webview-install"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "skip_webview_install"
: ":"
primitive_type "bool"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The path to the license file to render on the installer.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Must be an RTF file, so if a different extension is provide"...
field_declaration
visibility_modifier
pub "pub"
field_identifier "license"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Create an elevated update task within Windows Task Schedule"...
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
default "default"
, ","
identifier "alias"
= "="
string_literal
" "\""
string_content "enable-elevated-update-task"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "enable_elevated_update_task"
: ":"
primitive_type "bool"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Path to a bitmap file to use as the installation user inter"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " This bitmap will appear at the top of all but the first pag"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The required dimensions are 493px × 58px.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "alias"
= "="
string_literal
" "\""
string_content "banner-path"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "banner_path"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Path to a bitmap file to use on the installation user inter"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is used on the welcome and completion dialogs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The required dimensions are 493px × 312px.\n"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "alias"
= "="
string_literal
" "\""
string_content "dialog-image-path"
" "\""
) ")"
] "]"
field_declaration
visibility_modifier
pub "pub"
field_identifier "dialog_image_path"
: ":"
generic_type
type_identifier "Option"
type_arguments
< "<"
type_identifier "PathBuf"
> ">"
, ","
} "}"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Compression algorithms used in the NSIS installer.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://nsis.sourceforge.io/Reference/SetCompressor>\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
enum_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for the Installer bundle using NSIS.\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+339 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install Modes for the NSIS installer.\n"
attribute_item (+22 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+87 nodes collapsed)
impl_item (+23 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install modes for the Webview2 runtime.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Note that for the updater bundle [`Self::DownloadBootstrapp"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " For more information see <https://tauri.app/v1/guides/build"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
, ","
identifier "Deserialize"
) ")"
] "]"
attribute_item (+24 nodes collapsed)
attribute_item (+23 nodes collapsed)
enum_item (+195 nodes collapsed)
impl_item (+32 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Windows bundler configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowsconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+310 nodes collapsed)
impl_item (+78 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Definition for bundle resources.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Can be either a list of paths to include or a map of source"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+44 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for tauri-bundler.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#bundleconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+455 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A CLI argument definition.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+935 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " describes a CLI configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#cliconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+187 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The window configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+1037 nodes collapsed)
impl_item (+236 nodes collapsed)
function_item (+22 nodes collapsed)
function_item
fn "fn"
identifier "default_width"
parameters
( "("
) ")"
-> "->"
primitive_type "f64"
block
{ "{"
integer_literal "800f64"
} "}"
function_item
fn "fn"
identifier "default_height"
parameters
( "("
) ")"
-> "->"
primitive_type "f64"
block
{ "{"
integer_literal "600f64"
} "}"
function_item (+22 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A Content-Security-Policy directive source list.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://developer.mozilla.org/en-US/docs/Web/HTTP/Head"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+35 nodes collapsed)
impl_item (+101 nodes collapsed)
impl_item (+252 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A Content-Security-Policy definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See <https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+39 nodes collapsed)
impl_item (+51 nodes collapsed)
impl_item (+217 nodes collapsed)
impl_item (+218 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The possible values for the `dangerous_disable_asset_csp_mo"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+42 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " External command access definition.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+122 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Security configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#securityconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+333 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines an allowlist type.\n"
trait_item (+59 nodes collapsed)
macro_definition (+51 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Filesystem scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of glob patterns that restrict the API access "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Each pattern can start with a variable that resolves to a s"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The variables are: `$AUDIO`, `$CACHE`, `$CONFIG`, `$DATA`, "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$DOCUMENT`, `$DOWNLOAD`, `$EXE`, `$FONT`, `$HOME`, `$PICTU"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$TEMPLATE`, `$VIDEO`, `$RESOURCE`, `$APP`, `$LOG`, `$TEMP`"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `$APPLOCALDATA`, `$APPCACHE`, `$APPLOG`.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+168 nodes collapsed)
impl_item (+35 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the file system APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#fsallowlistconfig"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+306 nodes collapsed)
impl_item (+366 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the window APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#windowallowlistco"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+917 nodes collapsed)
impl_item (+930 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A command allowed to be executed by the webview API.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
struct_item (+135 nodes collapsed)
impl_item (+255 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A set of command arguments allowed to be executed by the we"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A value of `true` will allow any arguments to be passed to "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " arguments. A list of [`ShellAllowedArg`] will set those arg"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " be passed to the attached command configuration.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A command argument allowed to be executed by the webview AP"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+71 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Shell scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of command names and associated CLI arguments "...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "ShellAllowlistScope"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "ShellAllowedCommand"
> ">"
) ")"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines the `shell > open` api scope.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+57 nodes collapsed)
impl_item (+29 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the shell APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#shellallowlistcon"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+133 nodes collapsed)
impl_item (+250 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the dialog APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#dialogallowlistco"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+140 nodes collapsed)
impl_item (+258 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " HTTP API scope definition.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is a list of URLs that can be accessed by the webview wh"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The scoped URL is matched against the request URL using a g"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Examples:\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://*\": allows all HTTPS urls\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://*.github.com/tauri-apps/tauri\": allows any subdo"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - \"https://myapi.service.com/users/*\": allows access to any"...
attribute_item
# "#"
[ "["
attribute
identifier "allow"
token_tree
( "("
identifier "rustdoc"
:: "::"
identifier "bare_urls"
) ")"
] "]"
attribute_item (+22 nodes collapsed)
line_comment
// "//"
line_comment
// "//"
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "HttpAllowlistScope"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "Vec"
type_arguments
< "<"
type_identifier "Url"
> ">"
) ")"
; ";"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the HTTP APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#httpallowlistconf"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+74 nodes collapsed)
impl_item (+174 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the notification APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#notificationallow"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the global shortcut APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#globalshortcutall"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the OS APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#osallowlistconfig"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the path APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#pathallowlistconf"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+30 nodes collapsed)
impl_item (+128 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the custom protocols.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#protocolallowlist"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+81 nodes collapsed)
impl_item (+174 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the process APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#processallowlistc"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+125 nodes collapsed)
impl_item (+210 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the clipboard APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#clipboardallowlis"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+88 nodes collapsed)
impl_item (+186 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist for the app APIs.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#appallowlistconfi"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+74 nodes collapsed)
impl_item (+186 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Allowlist configuration. The allowlist is a translation of "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " # Notes\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - Endpoints that don't have their own allowlist option are "...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - There is only \"opt-in\", no \"opt-out\". Setting an option t"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " # Examples\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - * [`\"app-all\": true`](https://tauri.app/v1/api/config/#ap"...
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+323 nodes collapsed)
impl_item (+617 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The application pattern.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
, ","
identifier "Deserialize"
) ")"
] "]"
attribute_item (+29 nodes collapsed)
attribute_item (+23 nodes collapsed)
enum_item (+37 nodes collapsed)
impl_item (+23 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#tauriconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Default"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+230 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " A URL to an updater server.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The URL must use the `https` scheme on production.\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "UpdaterEndpoint"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
type_identifier "Url"
) ")"
; ";"
impl_item (+71 nodes collapsed)
impl_item (+175 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Install modes for the Windows update.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item (+26 nodes collapsed)
enum_item (+41 nodes collapsed)
impl_item (+94 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+189 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The updater configuration for Windows.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#updaterwindowscon"...
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+71 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Updater configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#updaterconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+182 nodes collapsed)
impl_item (+276 nodes collapsed)
impl_item (+67 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Configuration for application system tray icon.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#systemtrayconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+115 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Defines the URL or assets to embed in the application.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "untagged"
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+37 nodes collapsed)
impl_item (+123 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Describes the shell command to run before `tauri dev`.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+76 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Describes a shell command to be executed when a CLI hook is"...
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "untagged"
) ")"
] "]"
enum_item (+56 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Build configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#buildconfig\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+350 nodes collapsed)
impl_item (+73 nodes collapsed)
function_item (+47 nodes collapsed)
function_item (+38 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
struct_item
struct "struct"
type_identifier "PackageVersion"
ordered_field_declaration_list
( "("
type_identifier "String"
) ")"
; ";"
impl_item (+564 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The package configuration.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#packageconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+108 nodes collapsed)
function_item (+99 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The Tauri configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " It is read from a file where you can define your frontend a"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " configure the bundler, enable the app updater, define a sys"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " enable APIs via the allowlist and more.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The configuration file is generated by the\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " [`tauri init`](https://tauri.app/v1/api/cli#init) command t"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " your Tauri application source directory (src-tauri).\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Once generated, you may modify it at will to customize your"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## File Formats\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " By default, the configuration is defined as a JSON file nam"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " Tauri also supports JSON5 and TOML files via the `config-js"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The JSON5 file name must be either `tauri.conf.json` or `ta"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The TOML file name is `Tauri.toml`.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## Platform-Specific Configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " In addition to the default configuration file, Tauri can\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " read a platform-specific configuration from `tauri.linux.co"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " `tauri.windows.conf.json`, and `tauri.macos.conf.json`\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " (or `Tauri.linux.toml`, `Tauri.windows.toml` and `Tauri.mac"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " which gets merged with the main configuration object.\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ## Configuration Structure\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The configuration is composed of the following objects:\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`package`](#packageconfig): Package settings\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`tauri`](#tauriconfig): The Tauri config\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`build`](#buildconfig): The build configuration\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " - [`plugins`](#pluginconfig): The plugins config\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ```json title=\"Example tauri.config.json file\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"build\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"beforeBuildCommand\": \"\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"beforeDevCommand\": \"\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"devPath\": \"../dist\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"distDir\": \"../dist\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"package\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"productName\": \"tauri-app\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"version\": \"0.1.0\"\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"tauri\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"allowlist\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"all\": true\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"bundle\": {},\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"security\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"csp\": null\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"updater\": {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"active\": false\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " },\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"windows\": [\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " {\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"fullscreen\": false,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"height\": 600,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"resizable\": true,\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"title\": \"Tauri App\",\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " \"width\": 800\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ]\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " }\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " ```\n"
attribute_item
# "#"
[ "["
attribute
identifier "skip_serializing_none"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Default"
, ","
identifier "PartialEq"
, ","
identifier "Clone"
, ","
identifier "Deserialize"
, ","
identifier "Serialize"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "serde"
token_tree
( "("
identifier "rename_all"
= "="
string_literal
" "\""
string_content "camelCase"
" "\""
, ","
identifier "deny_unknown_fields"
) ")"
] "]"
struct_item (+133 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " The plugin configs holds a HashMap mapping a plugin name to"...
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment "\n"
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " See more: https://tauri.app/v1/api/config#pluginconfig\n"
attribute_item (+22 nodes collapsed)
attribute_item (+23 nodes collapsed)
struct_item
visibility_modifier
pub "pub"
struct "struct"
type_identifier "PluginConfig"
ordered_field_declaration_list
( "("
visibility_modifier
pub "pub"
generic_type
type_identifier "HashMap"
type_arguments
< "<"
type_identifier "String"
, ","
type_identifier "JsonValue"
> ">"
) ")"
; ";"
function_item (+65 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " How the window title bar should be displayed on macOS.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Clone"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
enum_item (+67 nodes collapsed)
impl_item (+23 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+147 nodes collapsed)
impl_item (+94 nodes collapsed)
line_comment
// "//"
outer_doc_comment_marker
/ "/"
doc_comment " System theme.\n"
attribute_item
# "#"
[ "["
attribute
identifier "derive"
token_tree
( "("
identifier "Debug"
, ","
identifier "Copy"
, ","
identifier "Clone"
, ","
identifier "PartialEq"
, ","
identifier "Eq"
) ")"
] "]"
attribute_item (+23 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "non_exhaustive"
] "]"
enum_item (+24 nodes collapsed)
impl_item (+82 nodes collapsed)
impl_item (+135 nodes collapsed)
impl_item (+85 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "test"
) ")"
] "]"
mod_item (+646 nodes collapsed)