Commit graph

  • c9b0c0c59c
    Add .DS_Store to .gitignore Jiahao XU 2022-06-12 22:38:34 +10:00
  • 94c77c32b4
    Make debug! message more consistent Jiahao XU 2022-06-12 22:38:00 +10:00
  • 225cf74cd9
    Refactor: Ret impl Stream in create_request Jiahao XU 2022-06-12 20:01:43 +10:00
  • baf9784b82
    Update doc of mod async_extracter Jiahao XU 2022-06-12 19:52:03 +10:00
  • 3a1038c80b
    Optimize binary size/compilation time Jiahao XU 2022-06-12 19:44:59 +10:00
  • bd39ce754f
    Fix Vfs::add_path: Use to_string_lossy Jiahao XU 2022-06-12 19:23:03 +10:00
  • b88e384f95
    Fix Vfs::add_path: Add insert filename instead of path Jiahao XU 2022-06-12 19:17:06 +10:00
  • b879c15c70
    Update doc of PathExt::normalize_path Jiahao XU 2022-06-12 17:22:20 +10:00
  • 989be49cb0
    Fix confusing doc of Vfs::add_path Jiahao XU 2022-06-12 17:13:48 +10:00
  • 24b1941c1a
    Simplify fetch_crate_cratesio: Rm unused param temp_dir Jiahao XU 2022-06-12 17:09:17 +10:00
  • e39549f470
    Improve debug! logging in download_and_extract Jiahao XU 2022-06-12 17:08:22 +10:00
  • f25306ff97
    Simplify download_tar_based_and_visit: Rm unused param Jiahao XU 2022-06-12 17:07:29 +10:00
  • e376b71cf4
    Simplify extract_tar_based_stream_and_visit Jiahao XU 2022-06-12 17:05:21 +10:00
  • 17fcac7e63
    Refactor: Simplify untar with new enum Op Jiahao XU 2022-06-12 17:03:39 +10:00
  • b2c34137cc
    Mark extract_compressed_from_readable & unzip to be pub(super) Jiahao XU 2022-06-12 16:56:41 +10:00
  • f82890cba3
    Rm download_and_extract_with_filter Jiahao XU 2022-06-12 16:42:32 +10:00
  • e68eea35fe
    Mark type ManifestVisitor as pub(super) Jiahao XU 2022-06-12 16:40:51 +10:00
  • 5bb5d12949
    Optimize fetch_crate_cratesio using ManifestVisitor Jiahao XU 2022-06-12 16:37:53 +10:00
  • f3d3c488e3
    Impl new type `ManifestVisitor Jiahao XU 2022-06-12 16:31:47 +10:00
  • 44d43113f4
    Forward impl AbstractFilesystem for &Vfs Jiahao XU 2022-06-12 16:08:41 +10:00
  • 3c30722a06
    Impl new type Vfs which impl AbstractFilesystem Jiahao XU 2022-06-12 01:57:34 +10:00
  • c6687edf48
    Fix visbility of PathExt: Mark it as pub Jiahao XU 2022-06-12 01:54:15 +10:00
  • cb2be5a882
    Add new trait PathExt & impl for Path Jiahao XU 2022-06-12 01:46:10 +10:00
  • 0162f5f462
    Add doc for TarEntriesVisitor Jiahao XU 2022-06-11 22:53:34 +10:00
  • 0eb9424f17
    Set vis of find_version to pub(super) Jiahao XU 2022-06-11 22:47:47 +10:00
  • 6c6055da69
    Refactor mod drivers: Extract out sub mods Jiahao XU 2022-06-11 22:43:45 +10:00
  • f8c8c66f57
    Impl new fn helpers::download_tar_based_and_visit Jiahao XU 2022-06-11 20:38:11 +10:00
  • 4892d8bf3a
    Impl forward of &mut T to T for TarEntriesVisitor Jiahao XU 2022-06-11 20:35:02 +10:00
  • 90a96cabc9
    Rewrite untar to take a visitor & simplify Jiahao XU 2022-06-11 20:31:46 +10:00
  • 5a43ee2681
    Simplify extract_compressed_from_readable impl Jiahao XU 2022-06-11 20:16:41 +10:00
  • 57b40d809e
    Cleanup mod async_extracter Jiahao XU 2022-06-11 20:13:10 +10:00
  • 7b52eaad5b
    Rewrite AsyncExtracter: Extract fmt logic as callback fn Jiahao XU 2022-06-11 20:10:46 +10:00
  • d1033758a7
    Update doc of download_and_extract_with_filter Jiahao XU 2022-06-11 19:30:31 +10:00
  • b1b79921b2
    Simplify download_and_extract_with_filter: Take TarBasedFmt Jiahao XU 2022-06-11 19:30:06 +10:00
  • cbd57a1bce
    Refactor async_extracter: Create multi extracters Jiahao XU 2022-06-11 19:28:22 +10:00
  • bd68613448
    Refactor and add new enum PkgFmtDecomposed Jiahao XU 2022-06-11 18:40:21 +10:00
  • c33f195d5f
    Merge pull request #178 from NobodyXu/ci Félix Saparelli 2022-06-11 21:57:38 +12:00
  • 5302240829
    Refactor workflow rust: Extract test into script Jiahao XU 2022-06-11 18:20:58 +10:00
  • bd4cc85386
    Merge pull request #179 from NobodyXu/feature/improve-readable-rx Félix Saparelli 2022-06-11 20:11:33 +12:00
  • 50183a38c5
    Merge pull request #171 from NobodyXu/fix/confirm Félix Saparelli 2022-06-11 20:11:20 +12:00
  • 9bf1ce3000
    Fix typo in step "Test (Unix)" Jiahao XU 2022-06-11 17:11:52 +10:00
  • dd24661091
    Test installed bin in step "Test (Windows)" Jiahao XU 2022-06-11 17:02:53 +10:00
  • 19656b6f45
    Fix typo in step "Test" Jiahao XU 2022-06-11 17:02:31 +10:00
  • 4b78d4eb4d
    Fix step Test: Run cargo binstall --help instead Jiahao XU 2022-06-11 16:52:51 +10:00
  • 58f0d5f12d
    Run bins after installation in step "Test" Jiahao XU 2022-06-11 16:43:11 +10:00
  • 868f6c2759
    Add more debug! to untar Jiahao XU 2022-06-11 16:13:33 +10:00
  • 4a882dc2cb
    Use BufRead inextract_compressed_from_readable Jiahao XU 2022-06-11 15:44:16 +10:00
  • e753c9ec30
    Impl BufRead for ReadableRx Jiahao XU 2022-06-10 19:49:09 +10:00
  • ac22db5e79
    Set log level to debug in step "Test" Jiahao XU 2022-06-11 14:37:14 +10:00
  • 4c210fd2c3
    Rm unused imports in mod helpers Jiahao XU 2022-06-11 12:59:41 +10:00
  • 88c3f15b3f
    Rename Confirmer to UIThread Jiahao XU 2022-06-10 13:45:20 +10:00
  • 9349fbabdc
    Unwrap in Confirmer task if failed to read Jiahao XU 2022-06-10 13:38:35 +10:00
  • b2bf065a2b
    Rm unused fn helpers::confirm::confirm Jiahao XU 2022-06-10 13:32:28 +10:00
  • 47ed7ce27b
    Use Confirmer instead of confirm in main.rs Jiahao XU 2022-06-10 13:31:50 +10:00
  • dd2fa2de33
    Impl helpers::confirm::Confirmer Jiahao XU 2022-06-10 13:27:28 +10:00
  • c1809d41fa
    Refactor: Extract confirm into a new mod Jiahao XU 2022-06-10 12:43:01 +10:00
  • f53680c497
    Merge pull request #174 from NobodyXu/fix/find_crate_cratesio Félix Saparelli 2022-06-11 14:54:50 +12:00
  • 4297b13ed9
    Fix testing on Windows Jiahao XU 2022-06-10 18:20:59 +10:00
  • fbcfe369da
    Rm cbindgen from bins in step "Test" Jiahao XU 2022-06-10 18:16:28 +10:00
  • cfa6090e6e
    Rm non-existent crate in step "Test" Jiahao XU 2022-06-10 17:32:38 +10:00
  • ea71cede42
    Fix if cond for step "Test" Jiahao XU 2022-06-10 17:28:23 +10:00
  • e312a22ba2
    set -euxo pipefail in step "Test" Jiahao XU 2022-06-10 17:19:21 +10:00
  • dc5978e737
    Fix step "Test": Fix invoking cargo-binstall directly Jiahao XU 2022-06-10 17:12:35 +10:00
  • 68942f56e4
    Merge two testing step into one in workflow rust Jiahao XU 2022-06-10 17:08:54 +10:00
  • 57d2b4c3b4
    Run job "Test binstall" only natively Jiahao XU 2022-06-10 17:07:59 +10:00
  • d038e77978
    Fix typo in step "Test installing bins" Jiahao XU 2022-06-10 17:02:18 +10:00
  • 53c9d667ce
    Enable caching on macos as issue has been fixed Jiahao XU 2022-06-10 16:55:21 +10:00
  • 665564420a
    Add more bins to test in job "Test installing bins" Jiahao XU 2022-06-10 16:54:55 +10:00
  • 4ff64dee34
    Fix caching: Only cache .cargo/{git, registry} Jiahao XU 2022-06-10 16:53:34 +10:00
  • d4495cc3bb
    Merge job test into job build to speedup workflow Jiahao XU 2022-06-10 16:52:24 +10:00
  • 3e5c7ec43f
    Add back testing of --manifest-path in workflow rust Jiahao XU 2022-06-10 16:49:09 +10:00
  • b0598a1fad
    Update workflow rust: Test find_crate_cratesio Jiahao XU 2022-06-10 16:38:45 +10:00
  • 62be22256b
    Refactor: Extract download_and_extract_with_filter Jiahao XU 2022-06-10 16:37:48 +10:00
  • 1d139324c7
    Rewrite untar: Takes a filter fn instead of array Jiahao XU 2022-06-10 16:35:51 +10:00
  • 1b39a7c86e
    Merge pull request #172 from NobodyXu/refactor/AsyncExtracter Félix Saparelli 2022-06-10 18:26:06 +12:00
  • a681f3a156
    Add debug! logging to untar Jiahao XU 2022-06-10 16:18:01 +10:00
  • fb5f61559b
    Fix use of download_and_extract in find_crate_cratesio Jiahao XU 2022-06-10 15:50:56 +10:00
  • d2e688c4c2
    Fix untar when desired_outputs is not None Jiahao XU 2022-06-10 15:49:54 +10:00
  • 32ad530329
    Rm use of AutoAbortJoinHandle in AsyncExtracter Jiahao XU 2022-06-10 13:54:43 +10:00
  • 1c3a672108
    Rm scopeguard creatd for mpsc::Receiver Jiahao XU 2022-06-10 13:52:11 +10:00
  • 29b28a4f8f
    Merge pull request #168 from NobodyXu/feature/avoid-oom Félix Saparelli 2022-06-10 01:55:22 +12:00
  • cadf045d0a
    Refactor: Abstract away AsyncExtracter by new fn Jiahao XU 2022-06-09 22:28:48 +10:00
  • 00242a40c6
    Update doc for AsyncExtracter::new Jiahao XU 2022-06-09 22:22:39 +10:00
  • 8a812c8d22
    Rename AsyncExtracter::write to feed Jiahao XU 2022-06-09 22:09:46 +10:00
  • 432376224f
    Update doc of AsyncExtracter Jiahao XU 2022-06-09 22:01:51 +10:00
  • 945687c281
    Rename AsyncFileWriter to AsyncExtracter Jiahao XU 2022-06-09 21:58:51 +10:00
  • e62775a9ec
    Add more doc for AsyncFileWriter Jiahao XU 2022-06-09 21:34:07 +10:00
  • 5ba8b07bcb
    Rm helpers::extract Jiahao XU 2022-06-09 14:52:14 +10:00
  • 728d1fd6dd
    Rm unused param pkg_path in install_from_package Jiahao XU 2022-06-09 14:47:43 +10:00
  • 1879a719e4
    Rm fn helpers::download Jiahao XU 2022-06-09 14:47:15 +10:00
  • c9b0d45a24
    Use download_and_extract in fetchers Jiahao XU 2022-06-09 14:46:00 +10:00
  • b6bfd40c3a
    Use download_and_extract in fetch_crate_cratesio Jiahao XU 2022-06-09 14:12:44 +10:00
  • 72983e4113
    Use untar in extract_compressed_from_readable Jiahao XU 2022-06-09 13:26:47 +10:00
  • be5e8616a2
    Impl new fn helpers::extracter::untar Jiahao XU 2022-06-09 13:15:23 +10:00
  • cc13a23b07
    Mark all internal types & fn as pub(crate) Jiahao XU 2022-06-09 12:58:39 +10:00
  • 9ac40bb943
    Merge pull request #166 from NobodyXu/optimize/quickinstall-report Félix Saparelli 2022-06-09 09:38:58 +12:00
  • d0fed45ab5
    Merge pull request #169 from NobodyXu/add-ci Félix Saparelli 2022-06-09 09:38:22 +12:00
  • 951dacd03d
    Fix cache key used in workflow "ci" Jiahao XU 2022-06-09 02:00:38 +10:00
  • 14823fbae7
    Fix test::parse_meta in lib.rs Jiahao XU 2022-06-09 01:53:24 +10:00
  • c9bd741c9b
    Add new workflow ci Jiahao XU 2022-06-09 01:53:10 +10:00