cargo-binstall/crates
Jiahao XU e510511487
Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757)
* Fix fmt of mod `<GhCrateMeta as Fetcher>::find`
* Add new variant `BinstallError::InvalidPkgFmt`
* Impl new fn `PkgFmt::guess_pkg_format`
* Improve `GhCrateMeta`: Detect cases where `pkg-fmt` is not specified
  
  but `pkg-url` also does not contain format, archive-format or
  archive-suffix which is required for automatically deducing the pkg-fmt.
  
  In these cases, we would call `PkgFmt::guess_pkg_format` to try out best
  to figure out the pkg-fmt, otherwise we just return an error.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-02-04 10:47:57 +13:00
..
bin Bump tokio from 1.24.2 to 1.25.0 (#749) 2023-01-30 02:20:04 +00:00
binstalk Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757) 2023-02-04 10:47:57 +13:00
binstalk-downloader Bump zstd from 0.12.2+zstd.1.5.2 to 0.12.3+zstd.1.5.2 (#756) 2023-02-01 02:13:58 +00:00
binstalk-manifests Bump toml_edit from 0.19.0 to 0.19.1 (#753) 2023-01-31 01:41:22 +00:00
binstalk-types Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757) 2023-02-04 10:47:57 +13:00
detect-targets Bump tokio from 1.24.2 to 1.25.0 (#749) 2023-01-30 02:20:04 +00:00
detect-wasi Migrate CI and builds to Just, add "full" builds (#660) 2023-01-08 16:27:36 +11:00
fs-lock Bump fs4 from 0.6.2 to 0.6.3 (#755) 2023-02-01 01:40:45 +00:00
normalize-path release: normalize-path v0.2.0 (#509) 2022-11-04 17:30:21 +11:00