wascc-fs

Crates.iowascc-fs
lib.rswascc-fs
version0.1.2
sourcesrc
created_at2020-04-27 19:55:19.511204
updated_at2020-09-09 13:16:18.175834
descriptionBlob store capability provider (local file system) for the waSCC runtime
homepagehttps://wascc.dev
repositoryhttps://github.com/wascc/fs-provider
max_upload_size
id234759
size33,516
wasmCloud Automation Bot (wasmcloud-automation)

documentation

https://docs.rs/wascc-fs

README

crates.io  Rust license  documentation

File System Provider

The waSCC File System provider is a capability provider for the wascap:blobstore protocol. This generic protocol can be used to support capability providers like Amazon S3, Azure blob storage, Google blob storage, and more. This crate is an implementation of the protocol that operates on top of a designated root directory and can be used interchangeably with the larger cloud blob providers.

For this provider, the concept of a container is a directory beneath the root (specified via the ROOT configuration variable), while a blob corresponds to a file stored within one of the containers.

Because of the way WebAssembly and the waSCC host work, all wascap:blobstore capability providers must stream files to and from the actor. This allows actors to unblock long enough to allow other messages from other providers to be processed and keeps the WebAssembly module from allocating too much memory.

Commit count: 0

cargo fmt