{"id":71858,"library":"spin-sdk","title":"Spin SDK","description":"The Spin Rust SDK makes it easy to build Spin components in Rust.","status":"active","version":"6.0.0","language":"rust","source_language":null,"source_url":"https://github.com/spinframework/spin-rust-sdk","tags":["wasm","serverless","spin","http"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nspin-sdk = \"6.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add spin-sdk","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Router","correct":"use spin_sdk::http::Router;"}],"quickstart":{"code":"use spin_sdk::http::{Router, Request, Response};\n\nfn handle_request(req: Request) -> Response {\n    Router::new().handle(req)\n}","lang":"rust","description":"Creates a simple HTTP router for Spin components."},"warnings":[{"fix":"Ensure you deploy to a Spin environment or use the Spin CLI for local testing.","message":"Requires the Spin runtime to execute; not a standalone library.","severity":"gotcha","affected_versions":">= 1.0"}],"env_vars":null,"search_vec":"'build':11 'compon':13 'easi':9 'http':19 'make':7 'rust':5,15 'sdk':2,6 'serverless':17 'spin':1,4,12,18 'wasm':16","created_at":"2026-06-17T18:32:19.088679+00:00","updated_at":"2026-06-17T18:32:19.088679+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://spinframework.dev/rust-components","github":"https://github.com/spinframework/spin-rust-sdk","docs":"https://docs.rs/spin-sdk/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}