bson-rust
bson-rust copied to clipboard
RUST-1225 Add base64 string to Binary constructor
Added a Binary constructor that accepts a base64 string instead of the bytes themselves.
looks like there are still some lint errors
It looks like those failures are from an unrelated PR (https://github.com/mongodb/bson-rust/pull/258). Should I go ahead and fix them anyway? @isabelatkinson
hmm you probably need to rebase this branch on main, it looks like #366 went in after this PR was created
I might be wrong but I think I rebased before the last push to this PR and it looks like all the changes from #366 are reflected in this PR.
ohh I see what the issue is, chrono must've just released a new version that deprecated some constants. I needed to run cargo update to see the lint errors locally. don't worry about those in this PR, I'll make a separate one to fix.
there's an unrelated clippy failure -- going to fix in a separate PR