It turns out the "empty" project we used for the initial
integration-style tests didn't cover a base case of having dependencies
listed by the crate being published.
Turns out, the schema for dependencies differs by the name of one field
between the index format and what Cargo sends.
This diff updates the payload we use to test such that it lists some
deps:
[package]
name = "my-crate"
version = "0.1.0"
authors = ["Owen Nelson <onelson@gmail.com>"]
edition = "2018"
[dependencies]
serde = "1"
chrono = { version = "0.4", features = ["serde"], optional = true }
[build-dependencies]
uuid = "0.8"
Also included: some notes on using mitmproxy to capture payloads.
It turns out the "empty" project we used for the initial integration-style tests didn't cover a base case of having dependencies listed by the crate being published.
Turns out, the schema for dependencies differs by the name of one field between the index format and what Cargo sends.
This diff updates the payload we use to test such that it lists some deps:
Also included: some notes on using mitmproxy to capture payloads.
refs #12.