Skip to content

Releases: oll3/bita

v0.6.2

16 Apr 19:31
Compare
Choose a tag to compare

Fix for building bita without depending on openssl-sys.

v0.6.1

10 Apr 11:22
Compare
Choose a tag to compare

Some minor fixes around library(bitar) interface and cloning.

  • Remove CloneInPlaceTarget since it's not really helping
  • Respect the limit of hash buffers while cloning in place

v0.6.0

07 Apr 21:13
Compare
Choose a tag to compare

This release focus on moving functionality from the cli tool (bita) to the library (bitar). Also tidy up the library interface, mainly around clone related functionality. This to simplify for 3rd party applications to integrate bitar and also allow for more code reuse between tool(s) and library (see related issue #13).

bitar

  • Allow for any AsyncSeek+AsyncWrite as clone output
  • Allow for any AsyncSeek+AsyncRead as archive reader
  • Allow for in-place update of any AsyncSeek+AsyncWrite+AsyncRead type
  • Add examples for how to implement archive cloning

v0.5.2

01 Mar 09:57
Compare
Choose a tag to compare

Fix building without default-tls backend. To build with only rustls as tls backend use:
cargo build --no-default-features --features rustls-tls

v0.5.1

23 Feb 11:45
Compare
Choose a tag to compare
  • Make number of chunks simultaneously processed dependent on the number of CPU cores available. Should result in lower memory usage on less performant systems. Can be overridden by cli option --buffered-chunks <COUNT>.
  • Handle http redirects, failed previously.
  • Use the system native tls as default. Rustls can be selected by feature flag (rustls-tls).

v0.5.0

14 Jan 20:57
Compare
Choose a tag to compare
  • The clone command can now use the output file as seed (using --seed-output). If so the output file is first scanned for chunks matching the archive, then found chunks are reorganized in place in the output file. After this other given seeds are processed and finally, if any chunks are still missing, they are now fetched from remote. This also let us avoid write operations when a chunk is already in place in the output.
  • Minor chunking performance improvements and various clean ups

v0.4.0

18 Dec 06:41
Compare
Choose a tag to compare
  • New default rolling hash, RollSum, based on bup's implementation
  • Add support for fixed size chunking, can be used instead of rolling hash
  • New sub-command diff for displaying difference/similarities in data between two files
  • clone sub-command improvements:
    • Post-verify the output file by checksum using the new --verify-output parameter
    • On http/connection errors bita can now retry and continue download without losing its progress
      • --http-retry-count - Set number of retries on http error
      • --http-retry-delay - Set time to wait between retries
      • --http-timeout - Set http transfer/connection timeout
  • Simplified build by removing the last c-dependencies (libcurl and openssl) and replaced with native rust crates (hyper, rustls)

v0.3.0

13 Oct 16:02
Compare
Choose a tag to compare
  • New default chunk compression: brotli
    Lzma and zstd has been placed behind feature flags and will be deprecated.
  • Now builds and runs on Windows
  • Fix incorrect use of compression when the compressed chunk got the exact size of the uncompressed chunk.

v0.2.1

22 Aug 08:49
Compare
Choose a tag to compare
  • Add clone cli option --verify-header for checking the archive header integrity before a clone