uv/crates/pypi-types/src
Andrew Gallant 1379b530f6 uv: migrate to rkyv 0.8
Recently, rkyv 0.8 was released. Its API is a fair bit simpler now for
higher level uses (like for us in `uv`) and results in us being able to
delete a fair bit of code. This also removes our last dependency on `syn
1.0`, and thus drops that dependency.

Performance (via testing on the `transformers` example) seems to remain
about the same, which is what was expected:

```
$ hyperfine -w5 -r100 'uv lock' 'uv-ag-rkyv-update lock'
Benchmark 1: uv lock
  Time (mean ± σ):      55.6 ms ±   6.4 ms    [User: 30.4 ms, System: 35.1 ms]
  Range (min … max):    43.0 ms …  73.1 ms    100 runs

Benchmark 2: uv-ag-rkyv-update lock
  Time (mean ± σ):      56.5 ms ±   7.2 ms    [User: 30.5 ms, System: 36.3 ms]
  Range (min … max):    39.1 ms …  71.5 ms    100 runs

Summary
  uv lock ran
    1.02 ± 0.18 times faster than uv-ag-rkyv-update lock
```

Closes #7415
2024-09-18 14:49:54 -04:00
..
base_url.rs Remove some unused `pub` functions (#3872) 2024-05-28 15:58:13 +00:00
direct_url.rs Use hasher to compute resolution hash (#5495) 2024-07-26 23:24:09 +00:00
lenient_requirement.rs Upgrade to Rust 1.80.0 (#5472) 2024-07-27 01:49:47 +00:00
lib.rs Respect `tool.uv.environments` in `pip compile --universal` (#6663) 2024-08-26 23:58:17 +00:00
marker_environment.rs Use separate types to represent raw vs. resolver markers (#6646) 2024-08-26 18:00:21 +00:00
metadata.rs Surface dedicated `project.name` error for workspaces (#7399) 2024-09-14 20:46:21 +00:00
parsed_url.rs Avoid using editable tag in lockfile for non-package dependencies (#6728) 2024-08-28 01:19:05 +00:00
requirement.rs Respect hashes in constraints files (#7093) 2024-09-05 14:30:10 -04:00
scheme.rs Query interpreter to determine correct `virtualenv` paths (#2188) 2024-03-05 16:13:24 -05:00
simple_json.rs uv: migrate to rkyv 0.8 2024-09-18 14:49:54 -04:00
supported_environments.rs Respect `tool.uv.environments` in `pip compile --universal` (#6663) 2024-08-26 23:58:17 +00:00