| Crates.io | platter |
| lib.rs | platter |
| version | 0.2.0-alpha0 |
| created_at | 2019-10-17 00:44:05.577973+00 |
| updated_at | 2025-06-14 00:38:33.798262+00 |
| description | Provide a uniform async interface for file loading between desktop and browser |
| homepage | |
| repository | https://github.com/ryanisaacg/platter |
| max_upload_size | |
| id | 173197 |
| size | 13,252 |
A simple utility to serve you files on a platter
platter works on both desktop and web, and returns a byte buffer of the file's contents.
On desktop, load_file is backed by native file system APIs. On web, it is backed by an
HTTP 'GET' request.
let file_contents = load_file("path_to_my_file").await?;