tauri/examples
Tony 013f8f6523
feat: add a new option to remove unused commands (#12890)
* Add a new option to remove unused commands

* Fix compile

* Add markers to all core plugins

* Clippy

* Add allow unused when running with this

* Use build script to generate allowed-commands.json

* Clean up and add proper reruns

* Wrong path

* Revert to #[cfg_attr(not(debug_assertions), allow(unused))]

* Add change files

* Some more docs

* Add version requirement note

* Avoid rerun if no capabilities folder

* Remove unused box

* small cleanup

* fix channel

* implement for app handler too

* rely on core:default for channel perms

* Move this feature to config

* Docs change

* Forget one last remove_unused_commands

* Remove removeUnusedCommands from helloworld

* tell handler that the app ACL manifest exists

* update change file

* update doc

* update change file

* Use a struct to pass the data instead of env var

* Clippy

* Fix can't exclude inlined plugins on Windows
due to UNC paths...

* Apply suggestion from code review

* Remove remove on empty to tauri-build

* Revert "Remove remove on empty to tauri-build"

This reverts commit b727dd621e.

* Centralize remove_file(allowed_commands_file_path)

* Escape glob pattern

* update change file

* remove unused commands for dev too

* Update crates/tauri-utils/src/config.rs

Co-authored-by: Fabian-Lars <github@fabianlars.de>

* regen schema

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
Co-authored-by: Fabian-Lars <github@fabianlars.de>
2025-03-15 13:46:08 -03:00
..
.icons fix(cli): corrupted icons in bundled macOS icons (#5698) 2022-11-28 08:57:32 -03:00
api feat: add a new option to remove unused commands (#12890) 2025-03-15 13:46:08 -03:00
commands Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
file-associations fix(cli): Ignore file access events (#12164) 2025-01-03 15:00:31 +01:00
helloworld feat: add Webview::cookies and Webview::cookies_for_url() (#12665) 2025-03-15 12:34:41 -03:00
isolation Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
multiwebview Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
multiwindow Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
resources chore(deps): update rust crate wry to 0.48 (dev) (#12101) 2025-01-02 01:01:31 +01:00
run-iteration Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
splashscreen Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
state Restructure the repository (#10796) 2024-08-27 18:42:30 -03:00
streaming refactor(core)!: pass webview label to uri scheme protocol handlers (#11163) 2024-09-29 07:41:26 -03:00
README.md docs(examples): add missing Readme and clarify existing (#3327) 2022-02-04 17:56:57 -03:00

Examples

Following directories contain examples of tauri app functionality.

There are different execution steps depending on the example. See each directory README.md for execution method.