Crates.io | vercel_blob |
lib.rs | vercel_blob |
version | 0.1.0 |
source | src |
created_at | 2023-10-23 18:16:23.593431 |
updated_at | 2023-10-23 18:16:23.593431 |
description | A rust client for the Vercel Blob Storage API |
homepage | |
repository | https://github.com/lancedb/lance |
max_upload_size | |
id | 1011571 |
size | 59,063 |
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)
If your rust code is part of a rust serverless function then authentication is automatic and provided as a part of the vercel runtime.
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.