1 unstable release

new 0.0.10 Nov 14, 2024

#2248 in Game dev

Download history 124/week @ 2024-11-11

124 downloads per month
Used in 12 crates (4 directly)

MIT license

11KB
122 lines

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

Dependencies

~0.7–12MB
~91K SLoC