mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-23 13:15:04 +00:00
Remove some unused fields from SimpleJson
(#612)
This commit is contained in:
parent
1181288078
commit
edcb71b1be
1 changed files with 0 additions and 11 deletions
|
@ -8,9 +8,6 @@ use crate::lenient_requirement::LenientVersionSpecifiers;
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
pub struct SimpleJson {
|
pub struct SimpleJson {
|
||||||
pub files: Vec<File>,
|
pub files: Vec<File>,
|
||||||
pub meta: Meta,
|
|
||||||
pub name: String,
|
|
||||||
pub versions: Vec<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A single (remote) file belonging to a package, generally either a wheel or a source dist.
|
/// A single (remote) file belonging to a package, generally either a wheel or a source dist.
|
||||||
|
@ -88,11 +85,3 @@ impl Yanked {
|
||||||
pub struct Hashes {
|
pub struct Hashes {
|
||||||
pub sha256: String,
|
pub sha256: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
|
||||||
#[serde(rename_all = "kebab-case")]
|
|
||||||
pub struct Meta {
|
|
||||||
#[serde(rename = "_last-serial")]
|
|
||||||
pub last_serial: i64,
|
|
||||||
pub api_version: String,
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue