Closed mattdeboard closed 3 years ago
This addresses onelson/estuary#12 "hackily". It's doing two things here:
req
version_req
allow_version_reupload
(https://github.com/onelson/estuary/blob/main/src/package_index.rs#L222) is deserialized into a PackageVersion instance, I just made a smaller, very badly-named type, Partial, that is local to that block. We're only concerned with the vers attribute so Partial has a vers field.
PackageVersion
Partial
vers
This is probably the totally wrong approach so corrections of any kind are very welcome
Closing in favor of a more focused approach in #15
This addresses onelson/estuary#12 "hackily". It's doing two things here:
req
/version_req
problemallow_version_reupload
flag to make local development simpler Instead of specifying that [this line](https://github.com/onelson/estuary/blob/main/src/package_index.rs#L222) is deserialized into a
PackageVersion
instance, I just made a smaller, very badly-named type,Partial
, that is local to that block. We're only concerned with thevers
attribute soPartial
has avers
field.This is probably the totally wrong approach so corrections of any kind are very welcome