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)

Most upvoted comments

Nice crate btw, that looks useful 😃

You would always put a specific version into the Cargo.toml that gives the API version of the dependency. So for glib you would now put 0.15 and that would make sure that any 0.15.x version can be used with your crate. 0.14.x and 0.16.x won’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.0 would give you all 1.x versions but not 2.x or 0.x.

Similarly 0.15.2 would mean 0.15.x with x >= 2.