-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Move non-stable Rust features behind Cargo features #1555
Conversation
futures-util/src/lib.rs
Outdated
@@ -2,7 +2,7 @@ | |||
//! and the `AsyncRead` and `AsyncWrite` traits. | |||
|
|||
#![cfg_attr(feature = "alloc", feature(box_into_pin))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
box_into_pin
is also an unstable feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😲 why is this not failing in travis then.
Oh, allow-features
is only for language features. Is there any way to deny library features as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't believe so-- seems like a reasonable thing to add to allow-features
(cc @tmandry).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened rust-lang/rust#60289
Looks like there are some conflicts with master-- will merge when those are resolved. Thanks again for this-- it's super exciting! :) |
@cramertj rebased |
Is there a plan to put a new alpha release on crates.io once this is merged? |
@sdroege Yup, I'll get a new alpha release out today. |
This gets the crates to a point where they should compile on stable 1.36 when it is released. The travis jobs have been updated to make the compiler act like a stable compiler where possible to catch any regressions.