Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Minimal Supported Rust Version #659

Closed
scrabsha opened this issue Jun 12, 2020 · 2 comments
Closed

[RFC] Minimal Supported Rust Version #659

scrabsha opened this issue Jun 12, 2020 · 2 comments

Comments

@scrabsha
Copy link
Contributor

Hello everyone,
I am currently working on butcher, a crate which will ease Cow handling, especially when it comes to destructuring and pattern-matching, in order to remove a lot of duplicate code required to fix #611. In this process, I had to write a proc_macro, which expands to an expression. It allows to perform additional compile-time checks, which allow to display an easy to understand error message, instead of providing borrow-checker errors to the user.

Such feature is not currently supported on stable rust, but should be available for the next release (see the stabilization report).

My question is: is there any targeted rust version or MSRV policy yet? As far as I know, CI uses latest stable release. I haven't find any other source of information.

@lpil
Copy link
Member

lpil commented Jun 12, 2020

We target stable so any libraries that require nightly won't be usable in the compiler I'm afraid.

@scrabsha
Copy link
Contributor Author

Thanks for your comment. I'll wait for it come to stable rust. This extra time will allow me to polish my APIs :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants