Comments (11)
Oh, right, I forgot about that; I meant to make any new releases in a 0.12.x line but didn't remember when releasing 0.11.6. I guess I could release 0.11.7 with just that change reverted, and then 0.12 from there on out?
from evdev.
I guess I'll release a 0.11.6 and then a 0.12
from evdev.
Ah, thanks, sorry about that.
from evdev.
It looks like 0.11.6 contains the breaking change again.
from evdev.
What's the breaking change?
from evdev.
Someone reported this to me:
rror[E0599]: no method named `supported_events` found for reference `&(PathBuf, Device)` in the current scope
--> /home/dagit/.cargo/registry/src/github.com-1ecc6299db9ec823/livesplit-hotkey-0.6.0/src/linux/mod.rs:281:27
|
281 | .filter(|d| d.supported_events().contains(EventType::KEY))
| ^^^^^^^^^^^^^^^^ method not found in `&(PathBuf, Device)`
error[E0277]: a value of type `Vec<Device>` cannot be built from an iterator over elements of type `(PathBuf, Device)`
--> /home/dagit/.cargo/registry/src/github.com-1ecc6299db9ec823/livesplit-hotkey-0.6.0/src/linux/mod.rs:282:14
|
282 | .collect();
| ^^^^^^^ value of type `Vec<Device>` cannot be built from `std::iter::Iterator<Item=(PathBuf, Device)>`
|
= help: the trait `FromIterator<(PathBuf, Device)>` is not implemented for `Vec<Device>`
= help: the trait `FromIterator<T>` is implemented for `Vec<T>`
note: required by a bound in `collect`
I feel like it's the same as before? Maybe not.
from evdev.
@coolreader18 it appears the breaking change was in fn enumerate
, changed in commit 9f63c9a.
The iterator EnumerateDevices
now returns (PathBuf, RawDevice)
instead of just the device.
from evdev.
Yeah that sounds good.
from evdev.
Could 0.11.6
be yanked? it contains the same breaking release as 0.11.5
.
Last time I couldn't figure out what broke my code as it was a minor version bump...
from evdev.
Ok! 0.11.6 yanked, 0.11.7 published, 0.12.0 published! Sorry for all the confusion, everyone.
from evdev.
Thanks!
from evdev.
Related Issues (20)
- Couldn't get key from code: [MediaSelect, LaunchApp1, BrowserFavories, LaunchMail, etc..] HOT 1
- Support `EV_MSC` on uinput devices
- tokio interface documentation isn't being generated
- VirtualDeviceBuilder does not support setting device properties
- Can we have a 0.12.1 in the meantime that can properly compile again? HOT 5
- how to get sysfs of device HOT 1
- Device implements `AsRawFd` but not `AsFd`
- Why do `supported_...` methods return Option ? HOT 2
- (Doc Suggestion) Switch BTN_DPAD_UP to KEY_UP in Virtual Keyboard example
- A link to evtest.rs is broken
- v0.12.1 has the wrong `/dev/` path for `enumerate_dev_nodes_blocking` HOT 7
- Enums are hard to use
- Allow finer-grained permissions when opening a device HOT 4
- Unable to Device::open the mouse HOT 1
- Use tags
- Keys aren't properly recognized in other keyboards HOT 1
- fetch_events will no longer return an error if the device is disconnected
- Move mouse to an absolute position. HOT 1
- Consider alternative EventStream implementation HOT 4
- Device::into_event_stream() drops device on error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evdev.