Skip to content

vow-s3

vow-s3 S3-compatible object storage — PUT/GET/DELETE with s3:// URLs and mem:s3 stubs. Install with vpm:

Terminal window
curl -fsSL https://install.vowlang.dev | sh
export PATH="$HOME/.local/bin:$PATH"
vpm add vow-s3@0.1.0
vpm install
import vs3 from vow_s3
fn main(caps: Caps) -> int needs Net {
let conn = match vs3.connect("mem:s3") {
Ok(c) => c,
Err(_e) => return 1,
};
match vs3.put(conn, "bucket/key", "payload") {
Ok(_v) => return 0,
Err(_e) => return 2,
};
}
Terminal window
cd vow-libs/vow-s3 && vow test tests/s3.vow -- --grant net: