mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00

## Summary This PR makes the `pypi_types::File` a response-only type (i.e., a type that's only used when deserializing over the wire), and adds a separate internal `File` type. Right now, the representations are similar, but already, we can avoid the "lenient" deserialization on our internal `File` type, and avoid the special-casing of the property names that's required in the JSON. Over time, we can evolve this representation entirely separately from the representation we receive from PyPI and other indexes.
30 lines
954 B
TOML
30 lines
954 B
TOML
[package]
|
|
name = "puffin-cache"
|
|
version = "0.0.1"
|
|
description = "Generate stable hash digests across versions and platforms."
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
cache-key = { path = "../cache-key" }
|
|
distribution-types = { path = "../distribution-types" }
|
|
puffin-fs = { path = "../puffin-fs" }
|
|
puffin-normalize = { path = "../puffin-normalize" }
|
|
pypi-types = { path = "../pypi-types" }
|
|
|
|
cachedir = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"], optional = true }
|
|
directories = { workspace = true }
|
|
fs-err = { workspace = true, features = ["tokio"] }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
tempfile = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|