Skip to content

longshore 0.3.0

Choose a tag to compare

@mfreeman451 mfreeman451 released this 04 Dec 01:28
· 48 commits to main since this release
v0.3.0
1a6b9bf

longshore 0.3.0 is on crates.io. The published crates share this version.

https://crates.io/crates/longshore

New crates

longshore_file and longshore_tcp are published for the first time. longshore re-exports them as longshore::file and longshore::tcp.

Client

The shareable client covers store, conditional store, fetch, ranged fetch, erase, copy, stat, list, multipart upload, upload and download streams, store_from and fetch_into, and the reporting calls put, head and get. Each call is a Future and also has a blocking wait.

Builder fields are private. Configure the client through setters, including request_timeout, attempts_max, backoff and backoff_max. Builder::new accepts an IP-literal host and connects without DNS.

Callers of 0.2 that wrote Builder fields directly need to move to those setters.

TLS

The TLS provider is chosen by feature: AWS-LC, ring, or rustls.

Also at 0.3.0

longshore, longshore_s3, longshore_common, longshore_http_client, longshore_stream, longshore_tls, longshore_mailbox, longshore_dns, longshore_crc.

longshore_s3_cache is in this tree and is not published.

Requires Rust 1.89.