Refactor cib
library structure
#660
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
cib
sub libraries is not well-defined.Solution:
Level 0 libraries:
async
conc
fmt
stdx
Level 1 libraries:
cib_lookup
depends onstdx
cib_nexus
depends onstdx
cib_sc
depends onfmt
,stdx
Level 2 libraries:
cib_log
depends oncib_sc
cib_match
depends oncib_sc
cib_interrupt
depends onconc
,cib_sc
Level 3 libraries:
cib_flow
depends oncib_log
,cib_nexus
,cib_sc
cib_log_fmt
depends oncib_log
cib_msg
depends onasync
,cib_log
,cib_lookup
,cib_match
,cib_sc
Level 4 libraries:
cib_log_mipi
depends onconc
,cib_log
,cib_msg
cib_seq
depends oncib_flow
,cib_log
,cib_nexus
,cib_sc
Level 5 libraries:
cib
depends oncib_*
Note:
cib
remains as an omnibus library. But this paves theway (if we want) to move code around and separate the libraries more.