Giter Site home page Giter Site logo

Comments (7)

tomaka avatar tomaka commented on May 15, 2024 1

See comments in #255

from rust-libp2p.

jamesray1 avatar jamesray1 commented on May 15, 2024

Hmmm I'm having trouble with this: https://github.com/jamesray1/rust-libp2p/tree/master/floodsub. I just went by the example in https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-codegen-pure.

from rust-libp2p.

eira-fransham avatar eira-fransham commented on May 15, 2024

Currently this is impossible because (as far as I can tell) protobuf-codegen-pure doesn't correctly implement all the features of protobuf that we use. Their tests pass but on our codebase (specifically, as @jamesray1 said, on floodsub) it generates code using a private module.

from rust-libp2p.

jamesray1 avatar jamesray1 commented on May 15, 2024

Ah I see, OK, so it looks like an alternative is to add protoc to the path of different platforms through the script.

from rust-libp2p.

jamesray1 avatar jamesray1 commented on May 15, 2024

OK, so as per comments in stepancheg/rust-protobuf#307 (comment), I'm getting an error with ring on Windows.

Here is the branch to run: https://github.com/jamesray1/rust-libp2p/tree/protobuf-codegen-pure.

from rust-libp2p.

jamesray1 avatar jamesray1 commented on May 15, 2024

Oh, I see you've made a PR.

from rust-libp2p.

tomaka avatar tomaka commented on May 15, 2024

Done in #1390

from rust-libp2p.

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.