feat: publish bt as cargo pkg to crates.io#209
Draft
Cedric / ViaDézo1er (viadezo1er) wants to merge 2 commits into
Draft
feat: publish bt as cargo pkg to crates.io#209Cedric / ViaDézo1er (viadezo1er) wants to merge 2 commits into
Cedric / ViaDézo1er (viadezo1er) wants to merge 2 commits into
Conversation
requires publishing the changes to the rust sdk as a crate publishing braintrust-lingua owning the bt name
bt works with 1.86.0 but lingua needs 1.95.0 and that would block the release
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.
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.Would 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).
I suppose next step is contacting crates.io support.
Updates the
rust-versionto 1.95.0 sincelinguarequires 1.95.0, althoughbtitself continues to work with 1.86.0.Adds Apache 2 license, is it ok?
Cargo.lockhas many deletions sincelinguaand the rust sdk are not reachable anymore with their current names, this should be reverted once they are publicly published.CI doesn't pass since it's searching for the nonexistant crate/version.