Skip to content

Use Workspace Dependencies#91

Merged
muraca merged 4 commits intoOff-Narrative-Labs:mainfrom
muraca:dependencies
Sep 23, 2023
Merged

Use Workspace Dependencies#91
muraca merged 4 commits intoOff-Narrative-Labs:mainfrom
muraca:dependencies

Conversation

@muraca
Copy link
Copy Markdown
Collaborator

@muraca muraca commented Sep 22, 2023

closes #85

Signed-off-by: muraca <mmuraca247@gmail.com>
Signed-off-by: muraca <mmuraca247@gmail.com>
Signed-off-by: muraca <mmuraca247@gmail.com>
Copy link
Copy Markdown
Contributor

@JoshOrndorff JoshOrndorff left a comment

Choose a reason for hiding this comment

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

Looks good to me assuming ci passes

Cargo.toml Outdated
Comment on lines +40 to +43
# wallet-only dependencies
serde_json = "1.0"
tokio = "1.25.0"
anyhow = "1.0.69"
Copy link
Copy Markdown
Contributor

@JoshOrndorff JoshOrndorff Sep 23, 2023

Choose a reason for hiding this comment

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

I like this separation of the dependencies in many ways. I also like having them alphabetical so that we can easily have a CI keep it in order.

For now let's leave it as it is except capitalize each line like this

Suggested change
# wallet-only dependencies
serde_json = "1.0"
tokio = "1.25.0"
anyhow = "1.0.69"
# Wallet-only dependencies
serde_json = "1.0"
tokio = "1.25.0"
anyhow = "1.0.69"

I remember when I was at moonbeam, they wrote a tool called toml sort https://github.com/moonsong-labs/toml_sort for this exact purpose. I've opened follow-up issue #92 to use that in Tuxedo too.

@nanocryk are you guys still using / supporting toml-sort? I see no recent commits, but I guess that's just because it is simple and stable, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I love this!

@muraca muraca self-assigned this Sep 23, 2023
Signed-off-by: muraca <mmuraca247@gmail.com>
@muraca muraca merged commit fd53adb into Off-Narrative-Labs:main Sep 23, 2023
@muraca muraca deleted the dependencies branch September 24, 2023 13:15
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.

Use Workspace Dependencies

2 participants