News for hackers. Stuff that matters.
Re:Show HN: Xplr – A hackable, minimal, fast TUI file explorer by dathinab on Tuesday April 06, 2021 @06:49AM (#26710339)
Ignoring benchmarking only deps, this crate has 10 direct dependencies and 60 in total. Through some of them are just internally split's of the same dependency, e.g.: pest, pest_derive, pest_generator, pest_meta. And some are build dependencies only.

So why is the lock file so big?

1. It also locks the test dependencies, i.e. the criterion benchmarking suite which is big and it's transitive dependencies (without it's ~750 lines in the lock file).

2. The lock file is human-readable formatted, because of this every "entry" takes at least 6 lines.

3. Each entry has one additional line per dependency, but dependencies are often shared internally (e.g. libc) so this can "bloat" the lock file without adding any additional dependency.

There are no comments on this comment yet.