This repository has been archived by the owner on Jun 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updated types to generated blobstore types * updated blobstore interface to git dependency updated readme with wasmcloud * addressed clippy warnings
- Loading branch information
1 parent
824d16c
commit 331c419
Showing
3 changed files
with
56 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
[package] | ||
name = "wascc-fs" | ||
version = "0.1.2" | ||
authors = ["Kevin Hoffman <[email protected]>"] | ||
name = "wasmcloud-fs" | ||
version = "0.2.0" | ||
authors = ["wasmCloud Team"] | ||
edition = "2018" | ||
homepage = "https://wascc.dev" | ||
repository = "https://github.com/wascc/fs-provider" | ||
description = "Blob store capability provider (local file system) for the waSCC runtime" | ||
homepage = "https://wasmcloud.dev" | ||
repository = "https://github.com/wasmcloud/capability-providers" | ||
description = "Blob store capability provider (local file system) for the wasmCloud runtime" | ||
license = "Apache-2.0" | ||
documentation = "https://docs.rs/wascc-fs" | ||
documentation = "https://docs.rs/wasmcloud-fs" | ||
readme = "README.md" | ||
keywords = ["webassembly", "wasm", "files", "wascc", "blobstore"] | ||
keywords = ["webassembly", "wasm", "files", "wasmcloud", "blobstore"] | ||
categories = ["wasm", "api-bindings"] | ||
|
||
[lib] | ||
|
@@ -20,6 +20,8 @@ crate-type = ["cdylib", "rlib"] | |
static_plugin = [] | ||
|
||
[dependencies] | ||
wascc-codec = "0.8.1" | ||
wascc-codec = "0.9.0" | ||
log = "0.4.11" | ||
env_logger = "0.7.1" | ||
actor-blobstore = { git = "https://github.com/wasmcloud/actor-interfaces", branch = "main" } | ||
actor-core = { git = "https://github.com/wasmcloud/actor-interfaces", branch = "main" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[![crates.io](https://img.shields.io/crates/v/wascc-fs.svg)](https://crates.io/crates/wascc-fs) | ||
![Rust](https://github.com/wascc/fs-provider/workflows/Rust/badge.svg) | ||
![license](https://img.shields.io/crates/l/wascc-fs.svg) | ||
[![documentation](https://docs.rs/wascc-fs/badge.svg)](https://docs.rs/wascc-fs) | ||
[![crates.io](https://img.shields.io/crates/v/wasmcloud-fs.svg)](https://crates.io/crates/wasmcloud-fs) | ||
![Rust](https://github.com/wasmcloud/capability-providers/workflows/Rust/badge.svg) | ||
![license](https://img.shields.io/crates/l/wasmcloud-fs.svg) | ||
[![documentation](https://docs.rs/wasmcloud-fs/badge.svg)](https://docs.rs/wasmcloud-fs) | ||
|
||
# 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. | ||
The **wasmCloud** File System provider is a capability provider for the `wasmcloud: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. | ||
Because of the way WebAssembly and the wasmCloud host work, all `wasmcloud: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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters