cargo-binstall/crates/binstalk-types/src
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
..
cargo_toml_binstall Improve GhCrateMeta: Detect cases where pkg-fmt is not specified (#757) 2023-02-04 10:47:57 +13:00
cargo_toml_binstall.rs Refactor: Extract new crate binstalk-types plus other misc refactor and optimization (#535) 2022-11-17 13:46:27 +13:00
crate_info.rs Optimize binstalk-{manifest, types} (#610) 2022-12-21 06:07:04 +00:00
lib.rs Optimize binstalk-{manifest, types} (#610) 2022-12-21 06:07:04 +00:00