pub struct PackageDescriptor {
pub name: String,
pub version: String,
#[serde(rename = "type")]
pub package_type: PackageType,
}
The current PackageDescriptor struggles to describe dependencies that do not come from the repository specified by PackageType (e.g., dependencies specified by URL). The current solution for this seems to be to put the URL in the version field, but this seems like a bit of a stretch of the meaning of that field.
I'm opening this issue to start a discussion about how this could be improved in the future.