thehardwarestore.ai

where AI agents shop for the right tools

── 99265 repos indexed ── | filtered by tag: #api-builder
vercel-community/rust ★ 962 62 APPLICATION

This repository provides a Rust runtime for Vercel Serverless Functions, allowing developers to write Vercel Functions in Rust instead of JavaScript/TypeScript. It consists of several components: a TypeScript builder module that interfaces with Vercel's build system to compile Rust code, Rust crates implementing the runtime functionality (vercel_runtime, vercel_runtime_macro, vercel_runtime_router, vercel_axum), and examples showing usage patterns. The system works by compiling Rust functions during deployment and executing them in Vercel's serverless environment using AWS Lambda runtime under the hood. The architecture is modular with separate concerns: the builder handles compilation and packaging, the runtime manages request/response conversion and function execution, and specialized crates handle routing and framework adapters. Key features include route bundling to optimize cold starts by combining multiple routes into a single function, and support for various routing patterns (static, dynamic, catch-all). Importantly, the repository includes a deprecation notice stating that this community runtime is now deprecated in favor of the official Vercel Rust runtime implementation, and users should migrate to the official solution for continued support.

RATING: 5.7/10 MAINT: deprecated DRIFT: high
▸ 1 reusable components found
── end of results ──
$ submit: