Giter Club home page Giter Club logo

Comments (19)

kyeah avatar kyeah commented on July 17, 2024 2

@vkarpov15 I believe we still need to bump the version and push the changes out to crates.io.

from mongo-rust-driver-prototype.

vkarpov15 avatar vkarpov15 commented on July 17, 2024 1

@saghm added you as an owner on crates.io, see https://crates.io/crates/mongodb

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

@kyeah, you mentioned you would take care of this over here. Need any help with that?

from mongo-rust-driver-prototype.

kyeah avatar kyeah commented on July 17, 2024

That would be great, @saghm! I'm traveling right now, so it'll be faster if you could take it on.

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

Sounds good!

from mongo-rust-driver-prototype.

ollivera avatar ollivera commented on July 17, 2024

Any update on this? I also would like to use the latest version of bson.

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

Sorry about this, I got sidetracked by other things. I'll get working on this right away!

from mongo-rust-driver-prototype.

vkarpov15 avatar vkarpov15 commented on July 17, 2024

Gonna be quite tricky because I'd exactly zero people who have contributed to the current iteration of the driver currently have write access to the repo. Perhaps @acmorrow can help?

from mongo-rust-driver-prototype.

acmorrow avatar acmorrow commented on July 17, 2024

@vkarpov15 Discussion is ongoing, appreciate your patience.

from mongo-rust-driver-prototype.

dariusc93 avatar dariusc93 commented on July 17, 2024

There is no breaking change for using 0.2 in the mongo driver. I am currently using a fork version of mongo for rust with it using bson 0.2 and everything runs fine

from mongo-rust-driver-prototype.

freiguy1 avatar freiguy1 commented on July 17, 2024

@dariusc93 I did the same thing. It compile right away when i changed the cargo.toml.

from mongo-rust-driver-prototype.

vkarpov15 avatar vkarpov15 commented on July 17, 2024

@dariusc93 @freiguy1 probably worthwhile to fork for now and merge back later - it'll take a while for me to get write access to this repo again and I'd rather not push to crates from a fork unless it's absolutely necessary.

from mongo-rust-driver-prototype.

vkarpov15 avatar vkarpov15 commented on July 17, 2024

@saghm @kyeah I'm getting the following issue when I run cargo package with rust 1.8. Any ideas?

   Compiling textnonce v0.3.0
/home/val/.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.0/build.rs:17:33: 17:46 error: mismatched types:
 expected `&mut syntex::Registry`,
    found `&mut inner::syntex::Registry`
(expected struct `syntex::Registry`,
    found struct `inner::syntex::Registry`) [E0308]
/home/val/.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.0/build.rs:17         serde_codegen::register(&mut registry);
                                                                                                                      ^~~~~~~~~~~~~
/home/val/.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.0/build.rs:17:33: 17:46 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
failed to verify package tarball

Caused by:
  Could not compile `textnonce`.

To learn more, run the command again with --verbose.

Also, do y'all have accounts on crates.io? Would make more sense for you guys to have access to do releases - I don't want to sit around and be a gatekeeper.

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

Ugh, looks like one of the dependencies got broken with the latest Rust update. I'll take a look to see if it's easily fixable.

I do have a crates.io account; it's linked to my github ([email protected]). I agree, it probably makes sense to add us on as maintainers of the crate.

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

I'm not getting the issue you seem to be having; maybe you have an old cached version of one of the dependencies that's been updated? I'd try deleting Cargo.lock and then trying to rebuild from scratch to see if that fixes it.

However, despite all the tests passing locally for me, Travis seems to having an issue with one of the GridFS tests (#144), which we should probably sort out before publishing a new version.

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

Oh, strange, I'm getting the error you had now. It seems to only happen when I run cargo package (not when I just do cargo build.

from mongo-rust-driver-prototype.

kyeah avatar kyeah commented on July 17, 2024

Also on crates via github -- @kyeah ([email protected]).

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

It seems to be an issue in the textnonce crate that has been fixed but not just pushed to crates yet. (It works fine when I specify using the latest version from Github rather than from crates.io, but crates doesn't allow publishing packages that use dependencies from both itself and github, for good reason).

I've opened an issue with it, so hopefully it will be fixed soon: mikedilger/textnonce#10

from mongo-rust-driver-prototype.

saghm avatar saghm commented on July 17, 2024

The issue with textnonce was fixed; version 0.1.4 has been published!

from mongo-rust-driver-prototype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.