#redis #wasmcloud #key-value #api-bindings

wasmcloud-redis

为 wasmCloud WebAssembly 动作运行时提供的 Redis 功能提供者

4 个版本

0.11.3 2021 年 5 月 18 日
0.11.2 2021 年 3 月 18 日
0.11.1 2021 年 2 月 11 日
0.11.0 2021 年 2 月 11 日

#45#wasmcloud

Apache-2.0

14KB
284

crates.io Rust license documentation

wasmCloud 键值提供者 (Redis)

该 wasmCloud Redis 功能提供者公开了使用 Redis 构建的键值存储接口。主机运行时中的每个动作模块都将获得其唯一的 Redis 客户端连接。以下配置参数被接受

  • URL - 连接字符串 URL。如果没有提供此值,则默认为 redis://0.0.0.0:6379

如果您想将此插件静态链接(嵌入)到自定义 wasmCloud 主机中而不是作为动态插件使用,请在依赖项部分启用 static_plugin 功能,如下所示

wasmcloud-redis = { version = "0.9.0", features = ["static_plugin"] }

依赖项

~6–16MB
~230K SLoC