Repository navigation
Releases
longshore 0.4.0
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_streamexportsTLS_BUFFER_MINand validates inStream::start_handshakethat both TLS staging buffers are at least the configured capacity, returningTlsError::Setupif undersized.longshore_http_clientaddsClientConfigBuilder::tls_buffer_size,ClientConfig::tls_buffer_size,Client::try_with_tls, andClientConfigError::TlsBufferSize, and marksClientConfigErroras#[non_exhaustive](breaking change under 0.x semver).longshore_s3::client::Builder::tls_buffer_sizecaps sizing at 1 GiB (TLS_BUFFER_MIN..=1 GiB) and allocates2 * connectionsTLS staging buffers inLimits::aligned_bufferswithout enlarging object body buffers.
Mutual TLS, custom TLS 1.3 configs, and live rotation (#77)
longshore_tlsaddsClientSetup::with_roots_and_identity,ServerSetup::with_client_roots,crypto_provider, andfrom_config/from_config_usingconstructors.longshore_tcpaddsset_tls,set_client, andset_serveronKernelTransportandNetfor 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, andUpload::upload_idread individual parts (or byte ranges) of in-progress or completed multipart uploads.- Raised
KEY_ENCODED_MAXto 1025 bytes, addedS3::erase_many_withwithContent-MD5support, 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
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.