-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Milestone
Description
Id actually like to make xrl::Client a trait and then create an Executable & Proccess struct That could be used instead of Client. As a bonus we could implement most of the logic in the trait definition and only need to implement a send and recv method for each.
Pros:
- Doesn't require the user to have the xi-core executable.
- xi-core is relitivily easily updated(recompiled).
- would allow the user to send serde_json::Values directly
- you could switch between them easily(only at compile time).
Cons:
- xi-errors will get sent to stderr instead, they could be collected but thats up to the user.
- would break with xi updates unless pinned to a particular version.
- probably more i'm not think of.
I just wanted to get your opinion before continuing, i've been using xi-core as a library for a few months now and it's made dealing with xi-core(while it's constantly changing) a leisurely breeze.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels