refactor: format imports using cargo fmt #258
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.
This pull request includes several changes aimed at improving code organization and formatting across multiple files, as well as updates to the GitHub Actions workflow. The most important changes include the reorganization of imports, enabling nightly features for Rust formatting, and updating the GitHub Actions workflow for formatting checks.
Code organization and formatting:
tap_aggregator/src/aggregator.rs,tap_aggregator/src/main.rs,tap_aggregator/src/server.rs,tap_aggregator/tests/aggregate_test.rs,tap_core/benches/timeline_aggretion_protocol_benchmark.rs,tap_core/src/error.rs,tap_core/src/manager/context/memory.rs,tap_core/src/rav.rs,tap_core/src/rav/request.rs,tap_core/src/receipt/checks.rs,tap_core/src/receipt/receipt_sol.rs,tap_core/src/receipt/received_receipt.rs,tap_core/tests/escrow_test.rs,tap_core/tests/rav_test.rs,tap_core/tests/receipt_test.rs,tap_integration_tests/tests/indexer_mock.rs,tap_integration_tests/tests/showcase.rs). [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]GitHub Actions workflow updates:
.github/workflows/tests.ymlfile to use the latest versions ofactions/checkoutandactions-rust-lang/setup-rust-toolchain, and switched to using the nightly toolchain for formatting checks.Rust formatting improvements:
rustfmt.toml, includingunstable_features,imports_granularity,group_imports, andreorder_modules.