Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/rust edition 2021 #27

Merged
merged 2 commits into from
Mar 8, 2022
Merged

Fix/rust edition 2021 #27

merged 2 commits into from
Mar 8, 2022

Conversation

nm2107
Copy link
Collaborator

@nm2107 nm2107 commented Mar 8, 2022

Initially, the sources were splitted in many packages to speed up
compilation (see #2 ).
This has lead to difficulties to navigate through the source code, and
created complexity in managing version bumps due to many Cargo.toml
files.

This commit organizes back the structure of the code under the src
dir, and bumps rust edition from 2018 to 2021 which would avoid long
re-compilations, which were the cause of the initial split.

Thanks to @akerouanton for pointing this out !

Also, this PR updates the test runner, as both unit and functional tests are now ran with the same command.

@nm2107 nm2107 requested a review from jaljo March 8, 2022 16:05
src/git/mod.rs Outdated Show resolved Hide resolved
nm2107 added 2 commits March 8, 2022 18:23
Initially, the sources were splitted in many packages to speed up
compilation (see #2 ).
This has lead to difficulties to navigate through the source code, and
created complexity in managing version bumps due to many Cargo.toml
files.

This commit organizes back the structure of the code under the `src`
dir, and bumps rust edition from 2018 to 2021 which would avoid long
re-compilations, which were the cause of the initial split.
due to the previous commit, all tests are now ran with the same command
@nm2107 nm2107 force-pushed the fix/rust-edition-2021 branch from ffb2b91 to 7e793b4 Compare March 8, 2022 17:24
@nm2107 nm2107 merged commit 706697f into master Mar 8, 2022
@nm2107 nm2107 deleted the fix/rust-edition-2021 branch March 8, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants