tokio-rs / console

a debugger for async rust!
MIT License
3.5k stars 138 forks source link

consider a `console-client` crate #227

Open hawkw opened 2 years ago

hawkw commented 2 years ago

Currently, the tokio-console CLI has a bunch of code for connecting a gRPC client and streaming data, for converting the protobuf wire format into an internal data model, and for generating warnings and other analysis based on that data model. A lot of this isn't really specific to the terminal app at all, and is probably useful to other UIs, like a web app or native GUI as well. We could factor it out from the tokio-console crate into a separate library so that this code can be reused.

Some potential issues & design challenges

hawkw commented 2 years ago

cc @davidpdrsn and @sd2k, possibly relevant to your interests!