<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk" -->

---
title: Generated SDKs for Rust now available on the Buf Schema...
description: The Buf Schema Registry now generates SDKs for Rust in addition to its existing Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift support. Rust SDK...
canonical: https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Generated SDKs for Rust now available on the Buf Schema Registry · Buf | daily.dev
og:description: The Buf Schema Registry now generates SDKs for Rust in addition to its existing Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift support. Rust SDK...
og:url: https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk
og:image: https://api.daily.dev/og/posts/tWiqplsFK.png
og:image:alt: Generated SDKs for Rust now available on the Buf Schema Registry · Buf
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Generated SDKs for Rust now available on the Buf Schema Registry · Buf

**[Buf Blog](https://daily.dev/sources/buf)** · 3 min read · 0 upvotes · 0 comments

## Summary

The Buf Schema Registry now generates SDKs for Rust in addition to its existing Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift support. Rust SDK crates are distributed via a custom Cargo registry backed by Buf's remote plugins platform, using the community-maintained neoeinstein-prost and neoeinstein-tonic wrappers around Prost and Tonic. To satisfy Cargo's requirement that index pages include checksums, Buf pre-generates SDKs only for module commit and plugin version combinations it detects consumer interest in, triggered by actions like cargo add or navigating to a specific commit/label in the repository. A walkthrough shows setting up a Rust project, configuring Cargo to use Buf as a registry, authenticating, and writing client code to query the BSR's Registry API.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://buf.build/blog/bsr-generated-sdks-for-rust>

## Questions this post answers

### Does the Buf Schema Registry support generating Rust SDKs from protobuf schemas?

Yes, the Buf Schema Registry generates Rust SDKs distributed through a custom Cargo registry, joining existing support for Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift. It uses the community-maintained neoeinstein-prost and neoeinstein-tonic compiler wrappers built on top of Prost and Tonic, and integrates natively with Cargo so SDKs can be added via cargo add.

_daily.dev helps developers track new SDK language support as schema registries expand their ecosystems._

### Why doesn't Buf pre-generate every possible Rust SDK version for Cargo?

Cargo's index pages require a checksum for every crate version, which means the .crate file must already exist and be hashed before it can appear in the index. Since Buf wanted to support any combination of module commit and plugin version without precomputing all combinations, it only generates SDKs for combinations where it detects consumer interest, such as a cargo add request or navigating to a specific commit or label.

_daily.dev surfaces engineering deep dives like this for teams designing on-demand package generation systems._

## Similar posts on daily.dev

- [The modern Protobuf workflow · Buf](https://daily.dev/posts/the-modern-protobuf-workflow-buf-c2m7gywhe) · Buf Blog · 1 upvotes · 0 comments
- [Rust at the Core: Accelerating Polyglot SDK Development by Spencer Judge at QCon SF 2025](https://daily.dev/posts/rust-at-the-core-accelerating-polyglot-sdk-development-by-spencer-judge-at-qcon-sf-2025-uau5c7a49) · InfoQ · 2 upvotes · 0 comments
- [Rust Support in Socket Is Now Generally Available](https://daily.dev/posts/rust-support-in-socket-is-now-generally-available-o8w5fyqys) · Socket · 24 upvotes · 0 comments
- [Protobuf, JSON Schema, and OpenAPI · Buf](https://daily.dev/posts/protobuf-json-schema-and-openapi-buf-00wgyenfv) · Buf Blog · 7 upvotes · 0 comments
- [connect-rust joins the Connect project · Buf](https://daily.dev/posts/connect-rust-joins-the-connect-project-buf-apuqzc6s4) · Buf Blog · 5 upvotes · 0 comments

---

Tags: [#backend](https://daily.dev/tags/backend), [#rust](https://daily.dev/tags/rust), [#grpc](https://daily.dev/tags/grpc)

[View this post on daily.dev](https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Generated SDKs for Rust now available on the Buf Schema Registry · Buf","url":"https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk"},"datePublished":"2026-08-23T07:20:10.380Z","dateModified":"2026-08-23T07:21:00.131Z","description":"The Buf Schema Registry now generates SDKs for Rust in addition to its existing Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift support. Rust SDK...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9f69b307ec49049e5f7220076139b5ce?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9f69b307ec49049e5f7220076139b5ce?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Buf Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Buf Blog","logo":"https://media.daily.dev/image/upload/s--2YBgo_Nm--/f_auto,q_auto/v1787469605/logos/buf?_a=BAMAMicg0","url":"https://daily.dev/sources/buf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"backend,rust,grpc","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Buf Blog","item":"https://daily.dev/sources/buf"},{"@type":"ListItem","position":3,"name":"Generated SDKs for Rust now available on the Buf Schema Registry · Buf"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/generated-sdks-for-rust-now-available-on-the-buf-schema-registry-buf-twiqplsfk#faq","mainEntity":[{"@type":"Question","name":"Does the Buf Schema Registry support generating Rust SDKs from protobuf schemas?","acceptedAnswer":{"@type":"Answer","text":"Yes, the Buf Schema Registry generates Rust SDKs distributed through a custom Cargo registry, joining existing support for Go, JavaScript/TypeScript, Java/Kotlin, Python, and Swift. It uses the community-maintained neoeinstein-prost and neoeinstein-tonic compiler wrappers built on top of Prost and Tonic, and integrates natively with Cargo so SDKs can be added via cargo add. daily.dev helps developers track new SDK language support as schema registries expand their ecosystems."}},{"@type":"Question","name":"Why doesn't Buf pre-generate every possible Rust SDK version for Cargo?","acceptedAnswer":{"@type":"Answer","text":"Cargo's index pages require a checksum for every crate version, which means the .crate file must already exist and be hashed before it can appear in the index. Since Buf wanted to support any combination of module commit and plugin version without precomputing all combinations, it only generates SDKs for combinations where it detects consumer interest, such as a cargo add request or navigating to a specific commit or label. daily.dev surfaces engineering deep dives like this for teams designing on-demand package generation systems."}}]}
```

