dashmap icon indicating copy to clipboard operation
dashmap copied to clipboard

ran cargo update.

Open martinfrances107 opened this issue 5 months ago • 2 comments

I love this crate it is really useful.

In part this is a field report from a upstream application

I am writing a app using the leptos framework Leptos makes extensive use of the dashmap crate. In my app - when I run

cargo tree -d 

I am looking at the large number of duplicate crates ( many different version of the same crate in the build chain )

My current focus is to simplify my build time/size by clearing issues with hashbrown, proc_macro2 and serde

in short I ran cargo update here, and think as it bubbles up 2 levels it would fix my problem

I hope this helps

martinfrances107 avatar Jul 21 '25 18:07 martinfrances107

AFAIK, one crate that serves as a library should not include Cargo.lock, see here: https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html. So I think it's time to delete it and ignore it in .gitignore in the comming 7.0.0 stable version.

Let's wait for @xacrimon's comment.

cxw620 avatar Aug 01 '25 07:08 cxw620

The lock file is completely irrelevant to any dependents of this crate. The downstream root crate/workspace will have their own lock file independent of whatever you have here. It only really matters for your own development and CI.

See also: https://blog.rust-lang.org/2023/08/29/committing-lockfiles/

cuviper avatar Sep 18 '25 17:09 cuviper