ockam
ockam copied to clipboard
Integrate Tokio Console with Ockam Node
https://tokio.rs/blog/2021-12-announcing-tokio-console https://github.com/tokio-rs/console
https://github.com/ockam-network/ockam/tree/develop/implementations/rust https://github.com/ockam-network/ockam/tree/develop/implementations/rust/ockam/ockam_node
@mrinalwadhwa Can I grab this?
@mattjperez that would be awesome! ❤️ @thomcc & @spacekookie can help if you have questions along the way.
@thomcc @spacekookie to use tokio-console, you currently need to use RUSTFLAGS="--cfg tokio_unstable".
I've feature-gated the use of tokio-console behind #[cfg(feature= "console")].
Users can then use it by running
RUSTFLAGS="--cfg tokio_unstable" cargo build --features ockam/consoletokio-consolein another terminal
Once tokio-console is stabilized, we will no longer need the --cfg tokio_unstable flag.
Also, this thing is pretty cool.
I'm using the echoer and app examples from the How-To Guides (looping 20 times) for testing and can see stuff like this.
