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

chore(mm2_main): replace lib.rs by mm2.rs as the root lib #2178

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

mariocynicys
Copy link
Collaborator

@mariocynicys mariocynicys commented Jul 25, 2024

Seems like lib.rs isn't that popular and mm2 is favored.

Having lib.rs there forced us to write #[path = 'file/path.rs'] directive for every module we define, even the trivial ones that didn't need no #[path].

This commit fixes this by setting mm2.rs as the root lib for mm2_main.

To Test: No QA testing needed for this PR.

instead of lib.rs.
Seems like lib.rs isn't that popular and mm2 favored.

Having lib.rs there forced us to write #[path = 'file/path.rs'] directive for every module we define, even the trivial ones that didn't need no #[path].

This commit fixes this by setting mm2.rs as the root lib for mm2_main.
@shamardy shamardy changed the title chore(mm2_main): make src/mm2.rs the root lib of mm2_maini nstead of lib.rs chore(mm2_main): make src/mm2.rs the root lib of mm2_main instead of lib.rs Jul 26, 2024
@shamardy shamardy added the in progress Changes will be made from the author label Jul 26, 2024
@mariocynicys mariocynicys added under review and removed in progress Changes will be made from the author labels Jul 27, 2024
@mariocynicys mariocynicys changed the title chore(mm2_main): make src/mm2.rs the root lib of mm2_main instead of lib.rs chore(mm2_main): replace lib.rs by mm2.rs as the root lib Jul 27, 2024
borngraced
borngraced previously approved these changes Aug 2, 2024
Copy link
Member

@borngraced borngraced left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 🚀

onur-ozkan
onur-ozkan previously approved these changes Aug 7, 2024
mm2src/common/common.rs Outdated Show resolved Hide resolved
@mariocynicys mariocynicys dismissed stale reviews from onur-ozkan and borngraced via 8c3331c August 8, 2024 05:45
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

@shamardy shamardy merged commit 7723b50 into dev Aug 8, 2024
23 of 26 checks passed
@shamardy shamardy deleted the mm2-instead-of-lib branch August 8, 2024 13:56
Alrighttt pushed a commit that referenced this pull request Aug 9, 2024
Having lib.rs forced us to write #[path = 'file/path.rs'] directive for every module we define, even the trivial ones that didn't need no #[path].

This commit fixes this by setting mm2.rs as the root lib for mm2_main.
dimxy added a commit to dimxy/komodo-defi-framework that referenced this pull request Aug 12, 2024
* dev:
  chore(mm2_main): replace lib.rs by mm2.rs as the root lib (KomodoPlatform#2178)
dimxy added a commit that referenced this pull request Aug 15, 2024
* dev:
  chore(mm2_main): replace lib.rs by mm2.rs as the root lib (#2178)
  chore(release): bump mm2 version to 2.2.0-beta (#2188)
  ci(docker-tests): ignore tendermint IBC tests for now (#2185)
  feat(nft-swap): complete refund methods (#2129)
  chore(release): add changelog entries for v2.1.0-beta (#2165)
  fix(zcoin): don't force low r signing to generate htlc pubkey for zcoin (#2184)
  chore(rust-analyzer): add rust-analyzer into the workspace toolchain (#2179)
  chore: migrate .cargo/config to .cargo/config.toml to avoid deprecation warning (#2177)
  fix(swaps): ensure taker payment spend confirmations (#2176)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants