Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Allow passing descriptor_set as bytes instead of a file path

Open
#407 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
build-system

Research direction

Start in buffa-build/src/lib.rs at the descriptor_set parameter around line 1640, then follow the read-into-bytes logic around line 1772. Determine how to accept descriptor bytes prepared by a build script while accounting for the existing path-based behavior; done means callers can provide prepared bytes directly without needing an intermediate file.

Written by the indexing model from the issue text.

Description

Currently, buffa-build allows passing a descriptor_set to use instead of proto files

https://github.com/anthropics/buffa/blob/ccc9adddb51274a45a0155d40514137504904140/buffa-build/src/lib.rs#L1640

This is then just read into bytes

https://github.com/anthropics/buffa/blob/ccc9adddb51274a45a0155d40514137504904140/buffa-build/src/lib.rs#L1772

It would be great if bytes could be passed directly for when the build script can prepare them, for example using protox. Perhaps changing Precompiled to hold a Vec<u8> and have the parameter accept either a sealed trait that is implemented for both Path and &[u8], or if breaking is ok, just accept the slice only since reading a path (as buffa-build currently does) wouldn't be that hard for a user.

Dominant language
Rust
Stars
900
Forks
95
Avg merge
5d 10h
Merged PRs (30d)
57

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from anthropics/buffa

All issues in anthropics/buffa

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.