Giter Site home page Giter Site logo

Rust stable about plex HOT 20 CLOSED

goffrie avatar goffrie commented on September 4, 2024 1
Rust stable

from plex.

Comments (20)

kaimast avatar kaimast commented on September 4, 2024 3

Has anybody built successfully with a stable version compiler?

As long as the procedural macros aren't stabilized yet, I don't think you can build this crate with stable (or even beta).

See this issue for more info: rust-lang/rust#54725

from plex.

goffrie avatar goffrie commented on September 4, 2024 3

I ported the crate to use syn 2.0.0 and compile_error!-style error reporting (using syn::Error) in fafa4dc. With that, the crate now compiles on stable.

from plex.

goffrie avatar goffrie commented on September 4, 2024

Hi! It should be possible, but I'm not currently working on it. I'm not very happy with the current options for stable, so I'm going to wait a little at least.

from plex.

sakshamsharma avatar sakshamsharma commented on September 4, 2024

Hi, what's the status on this issue again?
Also, what rust version are you building on? I just encountered a significant number of errors on cargo build's compilation of plex. I'm on Gentoo's nightly branch of rust.

from plex.

goffrie avatar goffrie commented on September 4, 2024

from plex.

sakshamsharma avatar sakshamsharma commented on September 4, 2024

Thanks for the quick reply!
I'm just starting with rust right now, so perhaps this may be beyond me. But I can try.
Update: Initial impressions while fixing => Major changes in rust's syntax crate.

from plex.

kivikakk avatar kivikakk commented on September 4, 2024

I'm having a look at this now, too. Mostly it just seems to be renaming and some minor reworks of syntax.

from plex.

sakshamsharma avatar sakshamsharma commented on September 4, 2024

from plex.

kivikakk avatar kivikakk commented on September 4, 2024

Down to 5 compile errors (from ~50), so I'll let you know if I get there! 😸

from plex.

kivikakk avatar kivikakk commented on September 4, 2024

Oh, damn. I wasn't working on the latest master. -_- I'll be a little bit more.

from plex.

kivikakk avatar kivikakk commented on September 4, 2024

Turns out I redid a lot of work. PR incoming.

from plex.

sakshamsharma avatar sakshamsharma commented on September 4, 2024

Great! I'll test it out soon. Although, are you informed enough to be able to port it to stable? (In case you would prefer that as well). There's this library rustlex which works on both. Perhaps something like that can be made for this, if possible? I'm quite new to rust, and low on time, so cannot make that work right now. No hurry though 😄

from plex.

kivikakk avatar kivikakk commented on September 4, 2024

Unfortunately not; I'm very advanced at Rust either, and I do think it would be a biiiig effort to port this; better waiting for the features to come to stable (or ideally, target nightly yourself).

from plex.

sakshamsharma avatar sakshamsharma commented on September 4, 2024

I wouldn't target a nightly build I'm afraid. But is it safe to assume (from, for instance, here ) that macros 1.1 should be in stable within a week or two? That's what is holding back plex from building on stable, right?

from plex.

meteor-lsw avatar meteor-lsw commented on September 4, 2024

Has anybody built successfully with a stable version compiler?

from plex.

maxrdz avatar maxrdz commented on September 4, 2024

I see that rust-lang/rust#54725 is still in nightly and under active development to this day. Since the last activity in this repository was in 2020, I wanted to ask if the maintainers are still looking to update this crate once this feature is on rust stable?

I am using this crate for a network engine project and the only reason why I'm building with nightly rust is to make use of plex. Hoping to switch back to stable rust as soon as I can.

from plex.

maxrdz avatar maxrdz commented on September 4, 2024

Thank you! 😊

from plex.

maxrdz avatar maxrdz commented on September 4, 2024

Would it be possible to make a new release with this feature? Would be great if I can build my project with the latest version of the crate without needing to compile from source. Thank you :)

from plex.

ErikBjare avatar ErikBjare commented on September 4, 2024

@maxrdz v0.3 was just released!

from plex.

maxrdz avatar maxrdz commented on September 4, 2024

from plex.

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.