feat: publish bt as cargo pkg to crates.io - #209
Open
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
Open
feat: publish bt as cargo pkg to crates.io#209Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
Cedric / ViaDézo1er (viadezo1er) wants to merge 1 commit into
Conversation
Cedric / ViaDézo1er (viadezo1er)
marked this pull request as ready for review
May 29, 2026 21:56
Luca Forstner (lforst)
approved these changes
Jun 5, 2026
Luca Forstner (lforst)
left a comment
Member
There was a problem hiding this comment.
Obviously please wait for us to have the bt crate ownership before merging but lg
Cedric / ViaDézo1er (viadezo1er)
force-pushed
the
cedric/publish-crate
branch
from
August 19, 2026 23:10
ca90da2 to
919575e
Compare
requires publishing braintrust-lingua owning the bt name
Cedric / ViaDézo1er (viadezo1er)
force-pushed
the
cedric/publish-crate
branch
from
August 19, 2026 23:19
919575e to
6570369
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Keep this PR to conserve the instructions to publish bt if we need it one day.
Requires
linguato be published (asbraintrust-lingua?)braintrust-serde-jsonto be published. Due to Bug: f64 within flattened HashMap throws error on deserialization serde-rs/json#1157 and our fix https://github.com/braintrustdata/braintrust/pull/8779 we have duplicatedserde-rswhich we would need to publish too. It could be namedbraintrust-serde-jsonwith a warning to use upstreamserdeinstead since this is not for general use.cargo updateonce this is done and these dependencies are added to crates.ioWould be nice to have the crate name
bt, otherwisebraintrust-bt?As per rust-lang/crates.io#326 (comment) (comment from Tobias Bieniek, crates.io team co-lead), deleting [your] GitHub account will make your [crates.io] account inaccessible and your package unmaintained.
All of the repos/github pages/account listed on the maintainer page are 404. I believe that's why the maintainer could not transfer ownership to us (see emails in the sdk mailing list). See https://linear.app/braintrustdata/issue/SDK-38/packaging for details about this.
I suppose next step is contacting crates.io support.
The email of the (technically current) maintainer of the bt crate is in the cargo.toml: https://docs.rs/crate/bt/0.1.0/source/Cargo.toml, he is https://crates.io/users/ceram1.
CI doesn't pass since it's searching for the nonexistant crate/version.