tauri/examples/streaming
Amr Bashir e1e85dc2a5
chore: fix ci and cleanup leftovers (#6925)
* chore: fix ci and cleanup leftovers

1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api

* remove leftover updater structs

* move updater under bundle and remove uneeded options

* fix cli on linux

* remove create_proxy

* clippy

* more clippy

* clippppy

* readd path api

* fix api example

* remove window allowlist

* remove window from allowlist config

* remove `all` allowlist option

* remove file_move

* lint

* fix windows build

* remvoe unused deps

* remvoe allowlist config option, move protocol to `security > asset_protocol`

* fix diffing features

* fmt and test

* fix scope alias

* change files

* android lint

* simplify allow_file impl

* Revert "simplify allow_file impl"

This reverts commit b8882f2fd0.

* expose scopes

* remove unused error variants

* protocol-asset on docs.rs

* ignore reqwest on udeps

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
..
index.html feat(ci): improve cache, add test-core features matrix (#5604) 2022-11-10 17:30:10 -03:00
main.rs chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
README.md fix(core): set correct mimetype for asset protocol streams, #5203 (#5536) 2022-11-04 12:35:45 -03:00
tauri.conf.json chore: fix ci and cleanup leftovers (#6925) 2023-05-13 13:48:28 +03:00

Streaming example

A simple Tauri Application showcase the streaming functionality.

To execute run the following on the root directory of the repository: cargo run --example streaming.

By default the example uses a custom URI scheme protocol. To use the builtin asset protocol, run cargo run --example streaming --features protocol-asset.