cargo-binstall/crates/binstalk-types
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
Cargo.toml release: binstalk-types v0.2.0 (#685) 2023-01-11 10:29:31 +11:00
LICENSE-APACHE Refactor: Extract new crate binstalk-types plus other misc refactor and optimization (#535) 2022-11-17 13:46:27 +13:00
LICENSE-MIT Refactor: Extract new crate binstalk-types plus other misc refactor and optimization (#535) 2022-11-17 13:46:27 +13:00