Somewhere between v0.4.9 and [v0.5](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md#050) the method [Socket::bind_device](https://github.com/rust-lang/socket2/blob/3aa8d82bc7f09055b137bb56863917abec263a42/src/sys/unix.rs#LL1651C1-L1683C6) disappeared on linux platforms unless feature `all` is explicitly selected. Without diving too deeply I suspect this is due to #249 removing an implicit requirement on `all` elsewhere. The method is also no longer listed on the [generic documentation](https://docs.rs/socket2/latest/socket2/struct.Socket.html), though `bind_device_by_index` remains. I'm working around this by adding the `all` feature, but if this change wasn't intentional it'd be nice to get it fixed.