ockam icon indicating copy to clipboard operation
ockam copied to clipboard

feat(rust): add `dyn_info` for dynamic output with `ockam node create…

Open lameferret opened this issue 2 years ago • 0 comments

WIP Fix #3177

~~This is really rough, improvements I can think of:~~ ~~- have enums for Type and Address being dependent on it.~~ ~~- use String::with_capacity() to reduce reallocations.~~ ~~- add more options (if any)~~

  • Is the current approach alright, or is it too manual?
  • Is there a better way to format without using \t and \n?
  • Should I separate serivce into service_brief and service_verbose, to reduce None usage?

I'm sure there are many more improvements that can be made, please provide your recommendations.

lameferret avatar Aug 14 '22 22:08 lameferret