gtk-rs-core: [BUG] failed to parse manifest
Bug description
Cannot build project with glib 0.15.0. Version 0.14.8 works.
Error message
error: failed to parse manifest at `/home/remco/.cargo/registry/src/github.com-1ecc6299db9ec823/glib-0.15.0/Cargo.toml`
Caused by:
can't find library `glib`, rename file to `src/lib.rs` or specify lib.path
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 17 (12 by maintainers)
Nice crate btw, that looks useful 😃
You would always put a specific version into the
Cargo.tomlthat gives the API version of the dependency. So forglibyou would now put0.15and that would make sure that any0.15.xversion can be used with your crate.0.14.xand0.16.xwon’t automatically be used and that’s correct because they will have a different API.If there’s not a zero at the beginning of the version number, you shift it all by one item.
1.0would give you all1.xversions but not2.xor0.x.Similarly
0.15.2would mean0.15.x with x >= 2.