meh / rust-xcb-util

Rust bindings and wrappers for XCB utility functions.
MIT License
27 stars 17 forks source link

Bump xcb dep to 0.8, bump xcb-util version to 0.2. #10

Closed mjkillough closed 7 years ago

mjkillough commented 7 years ago

As some types (at least xcb::Connection and xcb::GenericError) are used in the public API of xcb-util, this is a breaking change for xcb-util too.

meh commented 7 years ago

Do you know what changes happened between 0.7 and 0.8?

There may be other changes required.

mjkillough commented 7 years ago

Apologies for the delay.

The CHANGELOG and diff between the most recent 0.7.x release and 0.8.0 are here: https://github.com/rtbo/rust-xcb/compare/0520c2fcd27636bb66f69bc4e069709f6f243f73...master

Notable changes are:

The first two would result in compile errors if code needed updating, but xcb-util compiles fine with the new xcb. The third change doesn't seem to affect xcb-util, as it never calls xcb::connect itself.

I've tried xcb and xcb-util with this change in one of my projects (mjkillough/cnx) and it compiled and ran fine.

mjkillough commented 7 years ago

Thanks a lot!