Jonathan Strong
8a719e7c6c
misc loose ends
...
- tweak release-pre command in justfile to ensure pre-release comes after verify-clean-git
- rustfmt
2 years ago
Jonathan Strong
c28a3c8f87
re-generate docs
2 years ago
Jonathan Strong
3241e2075c
update deps and bump version to v0.4.1
2 years ago
Jonathan Strong
6281152a84
improve error reporting when config toml file fails to parse (still a bit meh)
2 years ago
Jonathan Strong
bd0e3ccda7
impl Default for HttpConfig, so field isn't required in config file
...
these changes allow omitting the http field of the top-level config,
relying on the defaults instead. previously, not having an [http] section
in the config.toml would fail to parse.
2 years ago
Jonathan Strong
86039a16e6
update crate vers in lock file
2 years ago
Jonathan Strong
b8abdd5759
re-generate docs
2 years ago
Jonathan Strong
01ce9284bc
bump version to v0.4.0
2 years ago
Jonathan Strong
41dfff3221
re-generate docs
2 years ago
Jonathan Strong
16d2090bec
fix edge case in output path generation
2 years ago
Jonathan Strong
8bd9d52c30
re-generate docs
2 years ago
Jonathan Strong
1892048654
implement template-based output paths (--output-format)
2 years ago
Jonathan Strong
50017aa456
re-generate docs
2 years ago
Jonathan Strong
7bb2717612
fix output path generation
2 years ago
Jonathan Strong
8a289a592d
re-generate docs
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
c61008b560
tweak string syntax to avoid tripping up gitea syntax highlighting
2 years ago
Jonathan Strong
5aa81d5504
fix tr-based search/replace with improved sed-based search-replace
...
old one removed all of the characters in version, wherever they were in the line,
so v0.28.0-rc.1 ended up v0.28.0-c.1
2 years ago
Jonathan Strong
a4a0864f3c
don't set json content-type/accept headers for download requests
...
the response type is NOT json, this was just wrong
2 years ago
Jonathan Strong
4fd262e906
add RUST_LOG=info to examples
2 years ago
Jonathan Strong
51824f0ba6
re-generate docs
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
66420e0a38
enable color feature in clap
2 years ago
Jonathan Strong
1898104124
rustfmt
2 years ago
Jonathan Strong
825a99a269
re-generate docs
2 years ago
Jonathan Strong
c3506f9f59
add metadata fields to [package] section in Cargo.toml
2 years ago
Jonathan Strong
73f5fee409
bump version to v0.2.3
2 years ago
Jonathan Strong
37e86bd457
adds --auth-token flag to shipyard-rs registry example
2 years ago
Jonathan Strong
09bf5fbd2a
adds install, build from source, running tests sections
2 years ago
Jonathan Strong
fd6191e9e3
adds Example Usage section
2 years ago
Jonathan Strong
1c087e79a3
re-generate docs
2 years ago
Jonathan Strong
67814b8ada
update version
2 years ago
Jonathan Strong
a497ff346e
bump version to v0.2.2
2 years ago
Jonathan Strong
0d4924bb3a
tweak name of unused const
...
just why
2 years ago
Jonathan Strong
2e5055c377
adds show-build-env command
2 years ago
Jonathan Strong
af4a102854
remove obe comment
2 years ago
Jonathan Strong
7c802f2609
break docs generate commands into smaller pieces
2 years ago
Jonathan Strong
4f974b48fe
check if lld is available before using in RUSTFLAGS
2 years ago
Jonathan Strong
daa556fa43
adds MIT license
2 years ago
Jonathan Strong
8fc1c48431
re-generate docs
2 years ago
Jonathan Strong
e7cd43abbd
tweak command dependencies
2 years ago
Jonathan Strong
b0e5b354db
put `README.md' in code brackets
2 years ago
Jonathan Strong
2f5828599d
re-generate docs
2 years ago
Jonathan Strong
5cc252342f
update docs
2 years ago
Jonathan Strong
ea7545dc61
fix typo in readme
2 years ago
Jonathan Strong
a04cd1cc8a
update docs
2 years ago
Jonathan Strong
3a8426f172
adds template-based README.md with script to re-generate
2 years ago
Jonathan Strong
a6d6f5a0c3
rustfmt
2 years ago
Jonathan Strong
70dc70dbbb
initial commit
2 years ago