Skip to content

refactor: cargo manifests (incl. dependency cleanup) #811

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .clippy.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
allowed-duplicate-crates = [
Copy link
Member

Choose a reason for hiding this comment

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

Can you delete this file and just allow multiple crate versions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why?

Copy link
Member

Choose a reason for hiding this comment

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

I don't want to have to mess with this file if I tweak dependencies.

Copy link
Member

Choose a reason for hiding this comment

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

In general, the less configuration I need to maintain, the better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The lint gives a good way to see which dependencies are duplicated, which is one of the three things this PR does. I've split off the commit to make it clearer.

"bitflags",
"dashmap", # upgraded to 6.* by dependabot, not sure if it should be downgraded back

"getrandom",
"wasi", # 0.14 needed by [email protected], 0.11 by [email protected] and [email protected]

"hashbrown", # TODO: can be resolved by updating dashmap to 7.0.0-rc0
"objc2",
"objc2-foundation",

"proc-macro-utils", # TODO: can be resolved by updating leptos crates to 0.7.0
"serde_qs", # TODO: can be resolved by updating leptos crates to 0.7.0

"rustix",
"linux-raw-sys", # needed by [email protected]

"thiserror",
"thiserror-impl",
"ttf-parser", # both versions are brought by [email protected]
"windows-core",
"windows-implement",
"windows-interface",
"windows-result",
"windows-sys",
"windows-targets",
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
"zip", # 0.5.13 needed by simple_excel_writer, 4.2.0 by calamine
]
Loading