Skip to content

Releases

longshore 0.4.0

Choose a tag to compare

@mfreeman451 mfreeman451 released this 04 Dec 09:40
v0.4.0
d7e0e09

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

https://crates.io/crates/longshore

HTTP & S3 TLS staging buffers (#79)

  • longshore_stream exports TLS_BUFFER_MIN and validates in Stream::start_handshake that both TLS staging buffers are at least the configured capacity, returning TlsError::Setup if undersized.
  • longshore_http_client adds ClientConfigBuilder::tls_buffer_size, ClientConfig::tls_buffer_size, Client::try_with_tls, and ClientConfigError::TlsBufferSize, and marks ClientConfigError as #[non_exhaustive] (breaking change under 0.x semver).
  • longshore_s3::client::Builder::tls_buffer_size caps sizing at 1 GiB (TLS_BUFFER_MIN..=1 GiB) and allocates 2 * connections TLS staging buffers in Limits::aligned_buffers without enlarging object body buffers.

Mutual TLS, custom TLS 1.3 configs, and live rotation (#77)

  • longshore_tls adds ClientSetup::with_roots_and_identity, ServerSetup::with_client_roots, crypto_provider, and from_config / from_config_using constructors.
  • longshore_tcp adds set_tls, set_client, and set_server on KernelTransport and Net for live certificate and trust-root rotation without disrupting open connections.

S3 GetPart, long keys, and signed bulk deletes (#74, #76, #78)

  • S3::get_part, S3::get_part_with, Client::get_part, and Upload::upload_id read individual parts (or byte ranges) of in-progress or completed multipart uploads.
  • Raised KEY_ENCODED_MAX to 1025 bytes, added S3::erase_many_with with Content-MD5 support, and fixed slot resets.

Published at 0.4.0

longshore, longshore_s3, longshore_tcp, longshore_file, 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.

longshore 0.3.0

Choose a tag to compare

@mfreeman451 mfreeman451 released this 04 Dec 01:28
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.