Rework `gossipsub-chat` example.
And I made little refactoring of Cargo.toml.
TODO:
- [ ] Change instruction for the tutorial.
So, I made changes with Cargo.toml.
If my PR will be accepted I need to change instructions for the usage in the example's code.
And maybe make more comments on what things do.
I don't quite understand the goal of this refactoring. What are you trying to showcase?
Sorry, I didn't see this message. The main reason is that for the current example we need to pass explicitly in args the address for connecting to the node. In my "refactored" example don't need to specify in the command line the address of the node, the connection is automatic.
@mxinden So, I wait for your word mate. What should I change else?
This is obsolete with #2996.