On reflection (and testing), my thought here doesn't stand up. Or rather: I still like writing the data without inline structures, but it doesn't require changing [[packages.wheels]] to a table.
TOML perfectly allows for arrays-of-tables to be put within arrays-of-tables, without any inline syntax, so we could just as well have:
[[packages]]
# other information about the package here
[[packages.wheels]]
name = "attrs-23.2.0-py3-none-any.whl"
upload-time = 2023-12-31T06:30:30.772444Z
url = "https://files.pythonhosted.org/packages/e0/44/827b2a91a5816512fcaf3cc4ebc465ccd5d598c45cefa6703fcf4a79018f/attrs-23.2.0-py3-none-any.whl"
size = 60752
hashes.sha256 = "99b87a485a5820b23b879f04c2305b44b951b502fd64be915879d77a7e8fc6f1"
In TOML, subsequent `[[packages.wheels]]` tables would specify another wheel for the most recently mentioned package; `[[packages]]` would close off the details (including wheels) for a package and start the next one.
TOML perfectly allows for arrays-of-tables to be put within arrays-of-tables, without any inline syntax, so we could just as well have:
In TOML, subsequent `[[packages.wheels]]` tables would specify another wheel for the most recently mentioned package; `[[packages]]` would close off the details (including wheels) for a package and start the next one.