uv/crates/puffin-resolver
konsti b84fbb86b2
Impl Version debug as display (#606)
Currently, `dbg!` is hard to read because versions are verbose, showing
all optional fields, and we have a lot of versions. Changing debug
formatting to displaying the version number (which can be losslessly
converted to the struct and back) makes this more readable.

See e.g.
https://gist.github.com/konstin/38c0f32b109dffa73b3aa0ab86b9662b

**Before**

```text
version: Version {
    epoch: 0,
    release: [
        1,
        2,
        3,
    ],
    pre: None,
    post: None,
    dev: None,
    local: None,
},
```

**After**

```text
version: "1.2.3",
```
2023-12-11 16:38:14 +01:00
..
src Impl Version debug as display (#606) 2023-12-11 16:38:14 +01:00
tests Introduce Cache, CacheBucket and CacheEntry (#507) 2023-11-28 17:11:14 +00:00
Cargo.toml Use rustc-hash instead of fxhash crate (#594) 2023-12-08 20:27:49 +00:00