Skip to content

chore: remove unused deps and features#575

Merged
niklasad1 merged 1 commit intomainfrom
remove-unsed-stuff
May 24, 2023
Merged

chore: remove unused deps and features#575
niklasad1 merged 1 commit intomainfrom
remove-unsed-stuff

Conversation

@niklasad1
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@lexnv lexnv left a comment

Choose a reason for hiding this comment

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

LGTM 👍


# substrate
sp-io = { git = "https://github.com/paritytech/substrate" }
frame-system = { git = "https://github.com/paritytech/substrate" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: Maybe we could transform unused crates into a compile-time error with #![deny(unused_crate_dependencies)], that may be a bit restrictive while experimenting with a new feature, leaving this up to you 🙏

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good comment but it doesn't work well for dev-dependencies I could add cargo machete instead :)

@niklasad1 niklasad1 merged commit bd6a500 into main May 24, 2023
@niklasad1 niklasad1 deleted the remove-unsed-stuff branch May 24, 2023 12:25
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