Repository navigation
refactor(erpc): move the account modules into account/ - #69
Merged
Merged
Conversation
Moves session, commands, doctor, config, keyless, account_secret and credit_wallet into crates/erpc/src/account/, the second step of the module restructure after cli/ (#49). Renames only. main.rs re-exports the modules under their old paths, as it does for cli/, so no import changes in this commit; the aliases go when their users import from account::. Signed-off-by: James Neve <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Second step of the
crates/erpcmodule restructure, aftercli/(#49).Moves the account and session modules into
crates/erpc/src/account/:session,commands,doctor,config,keyless,account_secret,credit_wallet.Renames only. The seven files are byte-identical
git mvs. The other changes are a newaccount/mod.rsand edits tomain.rs.main.rsre-exports the modules under their old paths, as it does forcli/, so no imports change. The aliases go when their users import fromaccount::.None of the moved files use
#[path],include_str!or hardcoded test names, and no docs or scripts refer to their paths.Verification
cargo fmt --checkandcargo clippy --workspace --all-targets -- -D warningsare clean.cargo test --workspace: 2,280 passed, 0 failed.erpctest list againstmain: 954 tests on both sides, with the same names apart from the newaccount::prefix.--helppages are byte-identical tomain.check-oss-hygiene.shandcheck-endpoints.shpass.