Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 3 commits into from

Conversation

lameferret
Copy link
Contributor

@lameferret lameferret commented Aug 14, 2022

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 lameferret requested a review from a team as a code owner August 14, 2022 22:54
@lameferret lameferret force-pushed the dynamicinfo branch 2 times, most recently from 5c7f4a4 to cb16dd2 Compare August 15, 2022 21:13
@adrianbenavides
Copy link
Member

The related issue was already merged some time ago with this PR #3504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make services information displayed with ockam node create | show command more dynamic.
2 participants