i3ipc-rs icon indicating copy to clipboard operation
i3ipc-rs copied to clipboard

Add an "unstable" feature to Cargo.toml

Open sophacles opened this issue 5 years ago • 1 comments

There's a few features folks are wanting that are "unstable" in i3 - particularly Node attributes and the like. Since i3 changes quite slowly, these attrs can be around for years. It seems like they could be added and guarded by a feature.

Then it could be simply enabled by something like:

[Dependencies]
i3rpc = { features = ["i3-next", "unstable"] }
...

It also gives a nice path forward for when i3 does update its stable features to include them.

sophacles avatar Nov 16 '19 23:11 sophacles

This could be extended for sway and i3-gaps specific features.

sophacles avatar Nov 16 '19 23:11 sophacles