mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 06:46:35 +03:00
add console-subscriber to rpc-stdio server
This commit is contained in:
@@ -35,3 +35,14 @@ languages other than Rust, for example:
|
||||
|
||||
Run `deltachat-rpc-server --version` to check the version of the server.
|
||||
Run `deltachat-rpc-server --openrpc` to get [OpenRPC](https://open-rpc.org/) specification of the provided JSON-RPC API.
|
||||
|
||||
|
||||
## Usage with `tokio-console`
|
||||
|
||||
When build with `RUSTFLAGS="--cfg tokio_unstable"` console-subscriber is enabled.
|
||||
That means that you can use [`tokio-console`](https://github.com/tokio-rs/console) to inspect active tokio tasks.
|
||||
You can install it via `cargo install tokio-console`.
|
||||
|
||||
```
|
||||
RUSTFLAGS="--cfg tokio_unstable" cargo run
|
||||
```
|
||||
Reference in New Issue
Block a user