Dependencies broken due to html5ever=0.25
Adding august
as a dependency in a new project breaks on build with:
error[E0432]: unresolved import `html5ever::rcdom`
--> /home/ccc/.cargo/registry/src/github.com-1ecc6299db9ec823/august-2.2.0/src/lib.rs:49:5
|
49 | rcdom::{NodeData, RcDom, Handle},
| ^^^^^ could not find `rcdom` in `html5ever`
Rust allows pre-release "minor" version bumps (that is <1.0) to be breaking changes which is what happened between html5ever=0.24
and html5ever=0.25
.
This project's Cargo.toml
dependencies on ^0
are therefore incorrect and caused this breakage. You should explicitly be depending on html5ever="0.24"
and so on for the other <1.0 dependencies.
Edited by Cristi Cobzarenco