niri_ipc::Socket; niri msg version; version checking on IPC (#278)

* Implement version checking in IPC

implement version checking; streamed IPC

streamed IPC will allow multiple requests per connection

add nonsense request

change inline struct to json macro

only check version if request actually fails

fix usage of inspect_err (MSRV 1.72.0; stabilized 1.76.0)

"nonsense request" -> "return error"

oneshot connections

* Change some things around

* Unqualify niri_ipc::Transform

---------

Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
This commit is contained in:
sodiboo
2024-04-19 15:02:32 +02:00
committed by GitHub
parent b98b95883d
commit b5f7e4bd83
8 changed files with 180 additions and 54 deletions
Generated
+1
View File
@@ -2202,6 +2202,7 @@ version = "0.1.4"
dependencies = [
"clap",
"serde",
"serde_json",
]
[[package]]