You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the bolt-sidecar is one big crate. As the project is becoming more and more mature there are some components (like the primitives) that should become separate crates so that can be used by other projects as dependency.
For a guideline, every folder under bolt-sidecar/src could become a separate crate.
The text was updated successfully, but these errors were encountered:
Taking further look, here are some options, to support backward compatibility and other open PRs:
Rename bolt-sidecar -> bolt-sidecar-legacy then make bolt-sidecar a workspace.
Leave bolt-sidecar unchanged and create new workspace like bolt-sidecar-workspace.
Gradually move packages in bolt-sidecar/src to bolt-sidecar/crates:
a. most binaries/lib here depend on each other. (E.g bolt-common <- bolt-primitivies <- bolt-cypto <- bolt-state), might as well move all of them anyway.
b. In Cargo.toml might have [package] and [workspace.package]
Legend:
<- : dependencies
These solutions may entail duplicated code for CI/CD.
Currently the
bolt-sidecar
is one big crate. As the project is becoming more and more mature there are some components (like the primitives) that should become separate crates so that can be used by other projects as dependency.For a guideline, every folder under
bolt-sidecar/src
could become a separate crate.The text was updated successfully, but these errors were encountered: