cargo-binstall/crates/binstalk
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
..
src Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757) 2023-02-04 10:47:57 +13:00
tests Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13:00
Cargo.toml Bump async-trait from 0.1.63 to 0.1.64 (#752) 2023-01-31 01:39:31 +00:00
LICENSE Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00