Publish on crates.io to allow "cargo install niri"
While this is a valid thing you can do, it's not really how you want to install a Wayland compositor. You need not just the binary, but the session and desktop files installed in the correct system folders, so niri shows up in your login manager. cargo install cannot do that.
Wouldn't this make sense for cases where people run it directly from a TTY and not using a login manager (as I do)?
It would, yeah. Honestly I'm thinking more about versioning. Since there's no release and updating a crate every commit sounds tedious and like a bad idea.
Although now that a considerable amount of stuff is implemented maybe I should tag an alpha version and put that up as a crate or something.
Hm, it seems that things published on crates.io cannot use git dependencies, so this will have to wait until the next Smithay release.
Hey, I'm maintaining centerpiece. Centerpiece is a pluggable desktop launcher and I would love to build a plugin for niri which shows open windows and lets you switch to them. Therefore, I'd like to use the niri-ipc crate to talk to niri. It would be really nice to get this published to crates.io so I we can depend on it :).
I guess I could publish niri-ipc, it doesn't depend on Smithay. Maybe with next niri release.
That would be awesome! I'll prepare everything on centerpiece side until then :).
niri-ipc is now on crates.io: https://crates.io/crates/niri-ipc
I'll close this issue since it's not actionable unless Smithay makes a stable release.