tmerr / i3ipc-rs

A Rust library for controlling i3-wm through its IPC interface
MIT License
107 stars 33 forks source link

Change I3Connection::command to I3Connection::run_command #17

Closed tmerr closed 7 years ago

tmerr commented 7 years ago

See https://github.com/i3/i3/commit/607e97e65190d1997048b510d72d30ebff1ca129

ipc: rename COMMAND to RUN_COMMAND for consistency Authors of downstream IPC libraries are encouraged to keep the old name around so as to not break existing code, but mark it as deprecated.

There's not much of a risk for i3ipc-rs since the README shows an example of using a specific i3ipc-rs version (no star) and we're still not 1.0. That said it would be interesting to do a quick github search to see if this is the case

tmerr commented 7 years ago

decided to just deprecate since the compiler hint is nice.