You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All use statements should refer to the preview crates
Question: Why do the extern crate statements in the current master branch (0.2) never use as, e.g. extern crate futures-preview as futures;? It seems to work, but I don't quite understand how it finds the crates if their actual name is different.
The text was updated successfully, but these errors were encountered:
As @withoutboats recently mentioned on the 2018 stabilisation thread having rust-lang/cargo#5653 would be amazing for this. You could use and recommend futures = { package = "futures-preview", version = "0.3.0-alpha.1" } as the way to depend on the preview. Unfortunately there’s been no confirmation one way or the other whether this cargo feature could be stabilised for the first 2018 release.
Cargo.toml
(7 files)package.name
package.documentation
dependencies
lib.rs
(7 files)#![doc(html_root_url = "...")]
Question: Why do the
extern crate
statements in the current master branch (0.2) never useas
, e.g.extern crate futures-preview as futures;
? It seems to work, but I don't quite understand how it finds the crates if their actual name is different.The text was updated successfully, but these errors were encountered: