platter

Crates.ioplatter
lib.rsplatter
version0.2.0-alpha0
created_at2019-10-17 00:44:05.577973+00
updated_at2025-06-14 00:38:33.798262+00
descriptionProvide a uniform async interface for file loading between desktop and browser
homepage
repositoryhttps://github.com/ryanisaacg/platter
max_upload_size
id173197
size13,252
Ryan (ryanisaacg)

documentation

README

platter

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?;
Commit count: 39

cargo fmt