Skip to content

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

Merged
shamardy merged 3 commits intodevfrom
mm2-instead-of-lib
Aug 8, 2024
Merged

chore(mm2_main): replace lib.rs by mm2.rs as the root lib#2178
shamardy merged 3 commits intodevfrom
mm2-instead-of-lib

Conversation

@mariocynicys
Copy link
Copy Markdown
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
@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
Copy Markdown

@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
@mariocynicys mariocynicys dismissed stale reviews from onur-ozkan and borngraced via 8c3331c August 8, 2024 05:45
Copy link
Copy Markdown
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
@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 pushed 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 (GLEECBTC#2178)
dimxy pushed 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants