Jonathan Strong
b02731ecd6
working first iteration for evaluation
1 year ago
Jonathan Strong
3cbe8997a0
begin work on mass publish tool - scoping out how to build publish meta from index meta + Cargo.toml
1 year ago
Jonathan Strong
3241e2075c
update deps and bump version to v0.4.1
2 years ago
Jonathan Strong
86039a16e6
update crate vers in lock file
2 years ago
Jonathan Strong
16d2090bec
fix edge case in output path generation
2 years ago
Jonathan Strong
1892048654
implement template-based output paths (--output-format)
2 years ago
Jonathan Strong
7bb2717612
fix output path generation
2 years ago
Jonathan Strong
eb111aad33
implement url templates
...
in addition to url templates, this also includes special handling for crates.io:
crates.io index config.json dl: "https://crates.io/api/v1/crates "
request to "https://crates.io/api/v1/crates/{crate}/{vers}/download " will
return a 302 redirect to "https://static.crates.io/crates/{crate}/{crate}-{vers}.crate ".
rather than follow the 302, this detects if the dl value is crates.io (`is_crates_io` method)
and performs the redirect preemptively.
in discussion with crates.io team on discord, @carol10cents indicated this would
avoid need to throttle requests as they would go right to cdn instead of
hitting crates.io webserver.
2 years ago
Jonathan Strong
b7621e78ac
implements --filter-crates, --dry-run, --overwrite-existing
...
--filter-crates: limit downloads to crates with names matching supplied regex
--dry-run: don't actually download
--overwrite-existing: re-download even if .crate file already exists in output dir
2 years ago
Jonathan Strong
c3506f9f59
add metadata fields to [package] section in Cargo.toml
2 years ago
Jonathan Strong
fd6191e9e3
adds Example Usage section
2 years ago
Jonathan Strong
67814b8ada
update version
2 years ago
Jonathan Strong
b0e5b354db
put `README.md' in code brackets
2 years ago
Jonathan Strong
3a8426f172
adds template-based README.md with script to re-generate
2 years ago
Jonathan Strong
70dc70dbbb
initial commit
2 years ago