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

Fix book to use futures_channel and futures_util, re-enable testing #172

Merged
merged 2 commits into from
Sep 10, 2019

Conversation

jamesmunns
Copy link

Closes #158

@jamesmunns
Copy link
Author

Note: These dependencies are indirect, and come from this line in the Cargo.toml:

[dev-dependencies.futures-preview]
version = "0.3.0-alpha.18"
features = ["std", "nightly", "async-await"]

I'm not sure the best way to access these NOT indirectly. I think futures-preview is aliasing with futures v0.1.29 from this part of the dependency tree:

├── futures-timer v0.4.0
│   ├── futures-core-preview v0.3.0-alpha.18 (*)
│   ├── futures-util-preview v0.3.0-alpha.18
│   │   ├── futures v0.1.29

@jamesmunns
Copy link
Author

Possibly related to rust-lang/mdBook#706

@jamesmunns
Copy link
Author

This regression was introduced by #140, CC @stjepang

@jamesmunns
Copy link
Author

Okay, I went ahead and just added these as explicit dev-dependencies, and added a comment in Cargo.toml what they were used for. Hopefully this will give some context for later refactorings.

Copy link
Contributor

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great; thanks for doing this!

@yoshuawuyts yoshuawuyts merged commit a8090be into master Sep 10, 2019
@yoshuawuyts yoshuawuyts deleted the fix-book branch September 10, 2019 10:54
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

Successfully merging this pull request may close these issues.

mdbook is failing to build
3 participants