vercel_blob

Crates.iovercel_blob
lib.rsvercel_blob
version0.1.0
sourcesrc
created_at2023-10-23 18:16:23.593431
updated_at2023-10-23 18:16:23.593431
descriptionA rust client for the Vercel Blob Storage API
homepage
repositoryhttps://github.com/lancedb/lance
max_upload_size
id1011571
size59,063
Weston Pace (westonpace)

documentation

README

Rust Vercel Blob Client

This crate contains a rust client for working with the Vercel Blob API. The client can be used both inside your application (for example, a serverless function using the rust runtime and outside your application (for example, a rust-based file upload client)

Authentication

Within your application

If your rust code is part of a rust serverless function then authentication is automatic and provided as a part of the vercel runtime.

Outside your application

If your rust code is part of a client package (running in the browser via wasm or running some kind of custom client application) then you will need to obtain an authentication token. This can be done by creating a route in your server that will supply short-lived authentication tokens to authorized users. The crate documentation contains an example.

Commit count: 2067

cargo fmt