Repository navigation
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.