swamp-loader

Crates.ioswamp-loader
lib.rsswamp-loader
version0.0.10
created_at2024-11-14 15:41:33.29983+00
updated_at2024-11-14 15:41:33.29983+00
descriptionLoads assets for swamp
homepage
repositoryhttps://github.com/swamp/swamp
max_upload_size
id1447891
size4,148
Peter Bjorklund (piot)

documentation

README

Swamp Loader 🐊

Welcome to Swamp Loader! This tiny but mighty library lets you load files as Blobs and send them wherever they're needed, all in async style! Just think of it as a special delivery service for your asset files, from storage to wherever you need them in your app.

✨ Features

  • Reads files asynchronously with any AssetReader you provide.
  • Wraps the file path and content in a handy Blob.
  • Sends the Blob through a channel so other parts of your app can use it.

📦 Installation

To use swamp-loader, add it to your Cargo.toml:

[dependencies]
swamp-loader = "0.0.10"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contents credits

Commit count: 802

cargo fmt