Move the `ockam_vault_core` create into `ockam_core`. · Issue #2288 · ockam-netw...
source link: https://github.com/ockam-network/ockam/issues/2288
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
We're trying to reduce the number of crates, and part of that is moving ockam_vault_core
into a new vault
submodule of ockam_core
. I think this basically looks like
-
Make a new
pub mod vault;
inockam_core
.- Note: unlike the other modules, I think we shouldn't
pub use vault::*
from the root here, since we'd like to move away from this.
- Note: unlike the other modules, I think we shouldn't
-
Move the code from
ockam_vault_core/src/*
to a newockam_core/src/vault/*
directory (and updating anything necessary, renaming lib.rs to mod.rs, renaming any references that were previouslycrate::Something
to becrate::vault::Something
) -
Update the doc comments so that it says "this module" rather than "this crate" and such. (Ask if you need help wording this).
-
Change uses of
ockam_vault_core::Foo
to useockam_core::vault::Foo
across our crates. -
Delete the
ockam_vault_core
crate, and any references to it (be sure to check.github/workflows
, and to do a search forockam_vault_core
).
That's the basic idea anyway (I may have missed something). Feel free to ask questions if anything is unclear.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK