cargo-binstall/crates/binstalk
Jiahao XU c34a2850b3
Optimization: Box variants in Error to reduce size and remove unused variants in BinstallError (#530)
* Box `HttpError` in `binsalk_downloader::remote::Error::Http`
   as `HttpError` contains `Url` which are too big.
* Box `HttpError` in `BinstallError::Http` same as the previous commit.
* Box `TinyTemplateError` in `BinstallError::Template`
  since `TinyTemplateError` is 56 bytes large where most of the other variants are below 40 bytes large.
* Rm unsed variant `BinstallError::VersionUnavailable`
* Box `CratesIoApiError` in `BinstallError::CratesIoApi`
   It is 32 bytes large while other variants are below 40 bytes large.
* Improve err msg for `BinstallError::CrateContext`
* Rm unused variant `BinstallError::VersionReq`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2022-11-15 02:46:32 +13:00
..
src Optimization: Box variants in Error to reduce size and remove unused variants in BinstallError (#530) 2022-11-15 02:46:32 +13:00
tests Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13:00
Cargo.toml Replace use of log with tracing (#527) 2022-11-13 21:45:37 +13:00
LICENSE Rename lib to binstalk (#361) 2022-09-10 16:44:18 +10:00