fix(deps): update rust dependencies (non-major) - #51
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
from
March 25, 2026 17:19
5c44823 to
1ce31ba
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
11 times, most recently
from
March 29, 2026 06:52
f1854f4 to
1b6532a
Compare
Member
|
sha1/sha2 0.11 has breaking API changes in HMAC (Mac trait). Needs code updates in src/verify.rs. Will address after v0.6.0 release. |
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
5 times, most recently
from
April 3, 2026 10:07
bc4bc47 to
0b90d60
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
4 times, most recently
from
April 11, 2026 12:40
260f0a0 to
4893ba2
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
6 times, most recently
from
April 20, 2026 09:28
8c57961 to
73bf84e
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
2 times, most recently
from
May 26, 2026 20:32
35c78b3 to
a188e2d
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
from
June 4, 2026 14:57
a188e2d to
5f92778
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
2 times, most recently
from
June 16, 2026 01:04
b983ba9 to
26728a5
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
3 times, most recently
from
June 30, 2026 11:53
8898354 to
f0351d3
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
5 times, most recently
from
July 8, 2026 01:36
5367982 to
892fdc5
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
10 times, most recently
from
July 22, 2026 13:16
56a09b1 to
e082f83
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
4 times, most recently
from
July 28, 2026 00:43
64c0f88 to
edcc580
Compare
renovate
Bot
force-pushed
the
renovate/rust-dependencies-(non-major)
branch
2 times, most recently
from
August 2, 2026 05:02
05f5a71 to
14190ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.102→1.0.1040.8.8→0.8.90.8.8→0.8.90.22→0.230.4.44→0.4.454.6.0→4.6.50.12→0.130.12→0.131.46.3→1.48.02.12.0→2.12.10.45→0.490.31→0.320.31→0.320.31→0.321.10.0→1.11.00.9→0.100.13.2→0.13.40.13.2→0.13.41.0.228→1.0.2291.0.149→1.0.1511.0.149→1.0.1510.10→0.110.10→0.110.10→0.110.8→0.91.50.0→1.53.11.50.0→1.53.10.6→0.70.32→0.33Release Notes
dtolnay/anyhow (anyhow)
v1.0.104Compare Source
syndev-dependency to version 3v1.0.103Compare Source
Error::downcast_mut(#451, #452)tokio-rs/axum (axum)
v0.8.9Compare Source
WebSocketUpgrade::{requested_protocols, set_selected_protocol}for more flexible subprotocol selection (#3597)marshallpierce/rust-base64 (base64)
v0.23.0Compare Source
simd-unsafefeature:Simdpicks the bestinstruction set at runtime (AVX2 on
x86_64, NEON onaarch64) and falls back to the scalarGeneralPurposeengine, whileAvx2andNeontarget one instruction set with no runtimedetection and work in
no_std. The engines support the standard and URL-safe alphabets.chronotope/chrono (chrono)
v0.4.45: 0.4.45Compare Source
What's Changed
clap-rs/clap (clap)
v4.6.5Compare Source
v4.6.4Compare Source
Internal
v4.6.3Compare Source
Fixes
"literal".function()as attribute valuesv4.6.2Compare Source
Fixes
aliaswhen there is only onev4.6.1Compare Source
Fixes
RustCrypto/MACs (hmac)
v0.13.0Compare Source
mitsuhiko/insta (insta)
v1.48.0Compare Source
strip_ansi_escape_codessetting which removes ANSI escape sequences(color codes, cursor movement, etc.) from snapshot content before comparison.
Requires the
filtersfeature. #899 (@pierluigilenoci)metadata fields such as
descriptionandexpression. SetINSTA_YAML_BLOCK_STYLE=1to enable. #851 (@ivov)CI=truenormally makescargo insta testbehave as though--checkwas passed. Explicit snapshot handling options such as
--acceptnow takeprecedence over this environment variable, allowing users to override this
behavior if they want to. #924
cargo insta test --profilebeing forwarded to nextest as the nextestprofile instead of the cargo build profile; it now translates to
--cargo-profilefor the nextest runner. Add--nextest-profileto selectthe nextest profile. #910
cargo insta pending-snapshotsprinting unusable\\?\-prefixed pathson Windows. The
--snapshotfilter now also accepts partial paths: anytrailing path suffix of the snapshot file matches, so a bare
--snapshot my_test.snapworks. #904os error 2when its datafile is missing (e.g. gitignored and not committed). #914
v1.47.2Compare Source
Send + SynconSettings,Redactions, andRedactionbyreverting the
ArctoRcchange from 1.47.0, which was semver-breaking.#873 #874
Send + Syncbounds toComparatortrait for consistency withArc-based storage. #872v1.47.1Compare Source
sort_maps. The change in 1.47.0 sorted allSeqvalues (includingVec), not just non-deterministic collections likeHashSet, which was a breaking change. #876v1.47.0Compare Source
Comparatortrait for customizing how snapshot values are compared. #872 (@dstu)sort_mapsto fix non-deterministicHashSetsnapshots. #876assert_json_snapshot!orassert_yaml_snapshot!as alternatives. #880Send + Syncbounds fromRedaction, allowing non-Sendclosures in dynamic redactions. #874ArcinSettingsunnecessarily. #873 (@dstu)consoleto 0.16 and MSRV to 1.66. #885toml-editto 0.25. #882 (@alexanderkjall)krisprice/ipnet (ipnet)
v2.12.1Stranger6667/jsonschema (jsonschema)
v0.49.3Added
false.$dynamicRefand$recursiveRef, which resolve through the dynamic scope and stay symbolic like any other reference. A dangling$dynamicReferrors rather than stayingRaw.minContainsunderuniqueItems, where a demand asking for more matches than its own schema has distinct values now folds tofalse.patternPropertiescoverage closed byadditionalProperties: false, spelled as the closed map it was parsed from.oneOfwhose branches repeat, where a repeated branch can never contribute exactly one match.$refwhose target is an empty schema, which now folds tofalse.unevaluatedItemsbesideallOf, where every branch must pass and so the indexes they evaluate are known without the instance.unevaluatedPropertiesbesideallOf, where every branch must pass and so what they evaluate is known without the instance.typelist holdingintegerbeside other types withenum, which previously modeled only when spelled as anallOf.patternPropertiespatterns matching finitely many keys, such as^a$and^(a|b)$.unevaluatedPropertiesandunevaluatedItemswhen no in-place applicator sits beside them.Fixed
additionalItemsvalues that are not schemas silently ignored beside an array-formitems(they should fail the build likeadditionalProperties).additionalItemsbeside a booleanitemsrejecting every instance, such as{"additionalItems": false, "items": false}.additionalItemsbeside a non-arrayitemsvalue failing schema compilation with an error blamingadditionalItems(the keyword should be ignored).2^64, such as{"maxItems": 18446744073709551616}.f64range admitted by a fractional bound it exceeds, such as1e400under{"exclusiveMaximum": 0.1}.$refat the root of an$id-bearing subresource dropped as a self-reference when its pointer matched the one that reached that subresource.unevaluatedItemscountingprefixItemsas evaluating elements before Draft 2020-12, where it is not a keyword.Performance
evaluateby building each location in a single allocation instead of two, reusing the instance location a node already built, and caching evaluation paths across instance nodes.v0.49.2Performance
multipleOfbeside numeric bounds far from zero.v0.49.1Fixed
jsonschema-value: Ruby builds on x64-mingw-ucrt.v0.49.0Added
options_forbuilds a validator over any instance representation implementingjson::Json, so instances validate without conversion toserde_json::Value. #239meta::validate_forandmeta::is_valid_forfor checking a schema document held in any representation implementingjson::Jsonagainst its meta-schema.jsonschema::canonicalize. It reduces a reasonable subset of JSON Schemas to their normal forms.Fixed
multipleOfincorrectly accepted integers pastu64that are not multiples of the divisor.v0.48.5Fixed
v0.48.2Performance
v0.48.1Fixed
requirederrors inevaluate()output for schemas withpropertiesand a two-entryrequiredarray. #1220contentEncodingerrors for invalid UTF-8 after decoding incorrectly had emptyinstance_pathandschema_path.Performance
#[jsonschema::validator](~5% across benchmarked schemas), via aliasing repeated paths in the emitted code.v0.48.0Added
iter_errorsfor#[jsonschema::validator]-generated validators.Fixed
anyOfandoneOfvalidation errors, matching runtime validators.$recursiveRefin generated validators incorrectly resolved to the innermost$recursiveAnchor(it should resolve to the outermost one).i64/u64range incorrectly compared against numeric bounds through lossyf64rounding underarbitrary-precision(e.g.{"minimum": -9223372036854775808}accepted-9223372036854775809).Changed
canonical::json::to_stringunderarbitrary-precision("1e-2"becomes"0.01","1.50"becomes"1.5") and correctly-rounded float parsing (serde_json'sfloat_roundtrip).Performance
multipleOfvalidation for integer instances with integer divisors, via integer arithmetic instead of floating-point modulo.v0.47.0Added
#[jsonschema::validator]attribute macro (behind themacrosfeature) that compiles a JSON Schema intois_validandvalidateimplementations at build time.Keyword::iter_errorsfor reporting multiple validation errors from a single custom keyword. #1071Changed
1.85.0.Performance
macrosfeature, via compile-time meta-schema validators.Fixed
typeunderitemsasserted with the Validation vocabulary disabled.$reftargets without their own$schema(e.g.$defsentries).v0.46.10Fixed
$dynamicRefcombined withunevaluatedPropertiesorunevaluatedItems.unevaluatedPropertiesandunevaluatedItemsresults when a meta-schema disables the Applicator vocabulary.v0.46.9Fixed
multipleOfincorrectly rounds integer instances above 2^53 tof64before the divisibility check on builds without thearbitrary-precisionfeature.v0.46.8Fixed
idn-emailformat rejected non-ASCII characters in quoted local parts (e.g."δοκιμή"@​example.com).v0.46.7Fixed
idn-hostnameformat accepted A-labels that decode to a disallowed code point (e.g.xn--7a).v0.46.6Added
IntoRegistryResourceforArc<Value>. #1129Fixed
prefixItemsincorrectly recognised as a known keyword in Draft 2019-09 and earlier (it is 2020-12 only).patternvalidation errors displayed the internally translated regex instead of the original schema pattern. #1149v0.46.5Fixed
$refURI fragments (e.g.#/$defs/Request%20class) are now decoded when stored asschema_path.v0.46.4Fixed
{0,N}quantifiers.v0.46.3Fixed
Validatorfor a schema with recursive$refor$dynamicRefis dropped. #1125wasm32-wasip1andwasm32-unknown-emscriptentargets.v0.46.2Fixed
requirednot enforced whenadditionalPropertiesis a schema object andrequiredlists exactly 2 keys.v0.46.1Fixed
$dynamicRefcombined withunevaluatedPropertiesorunevaluatedItems.unevaluatedPropertiesandunevaluatedItemsresults when a meta-schema disables the Applicator vocabulary.v0.46.0Added
ValidatorMapfor validating instances against subschemas identified by URI-fragment JSON pointer. #1075-i/--instance(e.g.jsonschema validate schema.json -i *.json). #1085dereferencefunction to recursively inline$refreferences. #422jsonschema dereferencesubcommand to dereference a schema from the command line.Breaking Changes
with_registrynow borrows the prepared registry.ValidationOptions::with_resourceandValidationOptions::with_resourceswere removed in favor of building aRegistryfirst. See the Migration Guide for the details.Performance
v0.45.1Fixed
multipleOfvalidation for negative numeric instances.durationformat when hours and seconds appear without minutes, or years and days without months.open-telemetry/opentelemetry-rust (opentelemetry)
v0.32.0Compare Source
Released 2026-May-08
BoundCounter<T>andBoundHistogram<T>types that cache resolvedaggregator references for a fixed attribute set. Created via
Counter::bind()and
Histogram::bind(), bound instruments bypass per-call attribute lookup,providing significant performance improvements for hot paths where the same
attributes are used repeatedly. Both types implement
Cloneso a single boundstate can be shared across threads or modules without re-binding. Also adds
the
SyncInstrument::bind()trait method andBoundSyncInstrument<T>traitfor SDK implementors; the trait method has a no-op default so custom
SyncInstrumentimpls degrade gracefully without panicking. Gated behind theexperimental_metrics_bound_instrumentsfeature flag.reservemethod toopentelemetry::propagation::Injectorto hint at the number of elements that will be added to avoid multiple resize operations of the underlying data structure. Has an empty default implementation.SpanBuilder#3227:trace_id,span_id,end_time,status,sampling_resultwith_trace_id,with_span_id,with_end_time,with_status,with_sampling_result#[must_use]attribute toopentelemetry::metrics::AsyncInstrumentBuilderto add compile time warning when.build()is not called on observable instrument builders, preventing silent failures where callbacks are never registered and metrics are never reported.opentelemetry::tracetoopentelemetry_sdk::trace#3277:SamplingDecision,SamplingResultopentelemetry_sdk::traceinstead.backing specification) is now stable and is enabled by default.
3278
tracingevents emitted via theinternal-logsfeatureContext::current()fromDropimplementations triggered byContextGuardcleanup (#3262).open-telemetry/opentelemetry-rust (opentelemetry-otlp)
v0.32.0Compare Source
Released 2026-May-08
tls-provider-agnosticfeature flag for environments that require a custom crypto backend (e.g., OpenSSL for FIPS compliance). Enables TLS code paths without bundlingringoraws-lc-rs.build()directly onSpanExporterBuilder,MetricExporterBuilder, andLogExporterBuilder(before selecting a transport), which auto-selects the transport based on the
OTEL_EXPORTER_OTLP_PROTOCOLenvironment variable or enabled features.#3394
ExportConfig,HasExportConfig,with_export_config(),HasTonicConfig,HasHttpConfig,TonicConfig, andHttpConfigfrom public API.Use the public
WithExportConfig,WithTonicConfig, andWithHttpConfigtrait methods instead, which remain unchanged.an
https://endpoint is configured but no TLS feature (tls-ringortls-aws-lc) is enabled, instead ofsilently sending unencrypted traffic. When a TLS feature is enabled and an
https://endpoint is used withoutan explicit
.with_tls_config(), a defaultClientTlsConfigis automatically applied.#3182
exporter errors no longer include potentially sensitive server responses
(e.g., authentication tokens echoed back). Error messages returned to SDK
processors contain only the gRPC status code or HTTP status code. Full
details are logged at DEBUG level only.
#3021
grpc-tonicOTLP export fails due to a local misconfiguration. When the returned
tonic::Statuswraps a local transport error (invalid URL, connect failure,DNS), its source chain (e.g.,
"transport error: invalid URI") is appendedto the returned error so SDK processors surface it at ERROR without
requiring DEBUG logging. Server-returned gRPC status messages remain
DEBUG-only to preserve the auth-token leak safeguards from
#3021.
#3331
OTEL_EXPORTER_OTLP_TRACES_PROTOCOL,OTEL_EXPORTER_OTLP_METRICS_PROTOCOL,OTEL_EXPORTER_OTLP_LOGS_PROTOCOL. These allow configuring different transport protocolsper signal type. Signal-specific vars take precedence over generic
OTEL_EXPORTER_OTLP_PROTOCOL.The auto-select
build()method on each exporter builder now respects the full priority chain:signal-specific env var > generic env var > feature-based default.
InvalidConfigwhen gRPC protocolis requested; gRPC transport returns
InvalidConfigwhen an HTTP protocol is requested.Protocol::default()no longer consults theOTEL_EXPORTER_OTLP_PROTOCOLenvironment variable. It now returns only the feature-based default (http-json > http-proto >
grpc-tonic). Protocol resolution from environment variables is handled internally by the
exporter builders. Users who relied on
Protocol::default()to read env vars should useProtocol::from_env()instead.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCEenvironment variableto configure metrics temporality. Accepted values:
cumulative(default),delta,lowmemory(case-insensitive). Programmatic.with_temporality()overrides the env var.NoHttpClienterror when multiple HTTP client features are enabled by using priority-based selection (reqwest-client>hyper-client>reqwest-blocking-client). #2994internal-logsfeature inopentelemetry-otlpto reduce unnecessary dependencies3191shutdown_with_timeout()when usinggrpc-tonic.tlsfeature in favor of explicittls-ringandtls-aws-lcfeatures.Migration: Replace
tlswithtls-ring(ortls-aws-lc). Users oftls-rootsortls-webpki-rootsmust now also enable one of these.open-telemetry/opentelemetry-rust (opentelemetry_sdk)
v0.32.1Released 2026-May-23
BaggagePropagatornow enforces the W3C Baggage maximum header length(8192 bytes) and maximum list-member count (64) when extracting an inbound
baggageheader. Headers exceeding 8192 bytes are dropped at thepropagator boundary; headers with more than 64 list members are
truncated to the first 64 entries. The change keeps the propagator from
parsing attacker-controlled input beyond the W3C limits instead of doing
per-entry parse, decode, and allocation work only to discard the excess
on
Baggageinsert. See https://www.w3.org/TR/baggage/#limits.SimpleSpanProcessortelemetry suppression added in 0.32.0(see #3494), which caused a
RefCell already borrowedpanic when a spanwas started and dropped inside a
get_active_span(orContext::map_current)closure. Tracked in #3510. A proper fix for the underlying
Context::map_currentre-entrancy will be investigated separately, afterwhich the suppression can be safely re-applied.
name(set viaStream::builder().with_name(...))is no longer validated against the instrument name syntax, per
spec clarification.
unitand other stream parameters continue to be validated.v0.32.0Compare Source
Released 2026-May-08
SimpleSpanProcessornow suppresses telemetry during export, preventingtelemetry-induced-telemetry feedback loops. This aligns with the existing
behavior in
BatchSpanProcessorandSimpleLogProcessor.SimpleConcurrentLogProcessorand theexperimental_logs_concurrent_log_processorfeature flag. The use cases it was designed for (ETW/user_events exporters) are
better served by modeling those exporters as processors directly.
Counter::bind()andHistogram::bind()SDK implementations thatreturn pre-bound measurement handles (
BoundCounter<T>,BoundHistogram<T>).Bound instruments resolve the attribute-to-aggregator mapping once at bind time
and cache the result, eliminating per-call HashMap lookups. View attribute
filtering is applied at bind time so the hot path stays free of per-call
attribute processing. Bound and unbound recordings with the same (post-view)
attribute set always aggregate into the same data point, including the empty
attribute set. Bound entries are never evicted during delta collection while
a handle exists — idle cycles produce no export but the tracker persists. If
bind()is called at the cardinality limit, the handle binds directly tothe overflow tracker — its writes stay on the same direct (no-lookup) hot
path and consistently land in the
otel.metric.overflow=truebucket forthe lifetime of the handle. To recover a bound handle after delta collection
frees space, drop the existing handle and call
bind()again. Gated behindthe
experimental_metrics_bound_instrumentsfeature flag. Benchmarks show~28x speedup for counter operations and ~9x for histograms.
HashMap on every collect cycle. Stale attribute sets that received no measurements
since the last collection are evicted. Note: recovery from cardinality overflow
now requires 2 collect cycles — the first marks entries as stale, the second
evicts them.
testingfeature is now runtime agnostic. #3407TokioSpanExporterandnew_tokio_test_exporterhave been renamed toTestSpanExporterandnew_test_exporter.tokio/rt,tokio/time,tokio/macros,tokio/rt-multi-thread,tokio-stream,experimental_async_runtimeInstrumentationScopeinArcinternally inSdkTracer, making tracer clones cheaper (Arc refcount increment instead of deep copy).portable-atomicforAtomicI64andAtomicU64in the metrics module. This enables compilation on 32-bit ARM targets (e.g.,armv5te-unknown-linux-gnueabi,armv7-unknown-linux-gnueabihf).Aggregationenum andStreamBuilder::with_aggregation()are now stable and no longer require thespec_unstable_metrics_viewsfeature flag.service.nameResource attribute fallback to follow OpenTelemetryspecification by using
unknown_service:<process.executable.name>format whenservice name is not explicitly configured. Previously, it only used
unknown_service.SpanExporter::shutdown()default timeout from 5 nanoseconds to 5 seconds.SpanExportertrait methodsshutdown,shutdown_with_timeout, andforce_flushnow take&selfinstead of&mut selffor consistency withLogExporterandPushMetricExporter. Implementers using interior mutability (e.g.,Mutex,AtomicBool) require no changes.Resource::get_ref(&self, key: &Key) -> Option<&Value>to allow retrieving a reference to a resource value without cloning.SdkTracer#3227:id_generator,should_sampleopentelemetry::tracetoopentelemetry_sdk::trace#3277:SamplingDecision,SamplingResultopentelemetry_sdk::traceinstead.StreamBuilder::build()now rejectsusize::MAXas a cardinality limitwith a validation error. #3506
TracerProviderBuilder::with_samplerallows to pass boxed instance ofShouldSample[#3313][3313]SpanProcessor::on_endcallsContext::current()(#3262).SpanProcessor::on_enddocumentation to clarify thatContext::current()returns the parent context, not the span's contexttraceparentheaders with unknown flags (e.g. W3C random-trace-id flag0x02) being incorrectly rejected. Unknown flags are now accepted and zeroed out as required by the W3C trace-context spec. #3435InMemoryExporterErrorhas been removed and replaced byOTelSdkError, and a newJaegerRemoteSamplerBuildErrorintroduced to replace last uses ofTraceError. #3458backing specification) is now stable and is enabled by default. #3278
proptest-rs/proptest (proptest)
v1.11.0Compare Source
rust-random/rand (rand)
v0.10.2Compare Source
Fixes
UniformCharfrom bad source (#1790)Changes
partial_shuffleand apply#[must_use](#1769)unsafein contexts where non-local memory corruption could invalidate contract (#1791)v0.10.1Compare Source
This release includes a fix for a soundness bug; see #1763.
Changes
make_rngand add#[track_caller](#1761)log(#1763)v0.10.0Compare Source
Changes
rand_chachahas been replaced with a dependency onchacha20. This changes the implementation behindStdRng, but the output remains the same. There may be some API breakage when using the ChaCha-types directly as these are now the ones inchacha20instead ofrand_chacha(#1642).IndexedRandom::choose_multiple->sample,choose_multiple_array->sample_array,choose_multiple_weighted->sample_weighted, structSliceChooseIter->IndexedSamplesand fnsIteratorRandom::choose_multiple->sample,choose_multiple_fill->sample_fill(#1632)Fillbe implemented for element types, not sliceable types (#1652)OsError::raw_os_erroron UEFI targets by returningOption<usize>(#1665)TryRngCore::read_adapter(..) -> RngReadAdapterwith simpler structRngReader(#1669)SeedableRng::from_os_rng,try_from_os_rng(#1674)Clonesupport forStdRng,ReseedingRng(#1677)postcardinstead ofbincodeto test the serde feature (#1693)IteratorRandom::samplewhenamountis much larger than iterator size (#1695)os_rng->sys_rng,OsRng->SysRng,OsError->SysError(#1697)Rng->RngExtas upstreamrand_corehas renamedRngCore->Rng(#1717)Additions
IndexedRandom::choose_iter,choose_weighted_iter(#1632)Xoshiro128PlusPlus,Xoshiro256PlusPlusprngs (#1649)ChaCha8Rng,ChaCha12Rng,ChaCha20Rngbehindchachafeature (#1659)rand::make_rng() -> R where R: SeedableRng(#1734)Removals
ReseedingRng(#1722)small_rng(#1732)v0.9.5Compare Source
What's Changed
Full Changelog: rust-random/rand@0.9.4...0.9.5
v0.9.4Compare Source
Fixes
Full Changelog: rust-random/rand@0.9.3...0.9.4
v0.9.3Compare Source
seanmonstar/reqwest (reqwest)
v0.13.4Compare Source
ClientBuilder::tls_sslkeylogfile(bool)option to allow using the related environment variable.ClientBuilder::http2_keep_alive_*options for theblockingclient.native-tlsbackend.v0.13.3Compare Source
/etc/resolv.conffails.STOP_SENDINGas not an error.serde-rs/serde (serde)
v1.0.229Compare Source
serde-rs/json (serde_json)
v1.0.151Compare Source
v1.0.150Compare Source
RustCrypto/hashes (sha1)
v0.11.0Compare Source
v0.10.7Compare Source
launchbadge/sqlx (sqlx)
v0.9.0Compare Source
Important Announcements
New Github Organization
Shortly after this release is published, the SQLx repository will be transferred to a new GitHub organization:
https://github.com/transact-rs/
This is because SQLx has not been owned or maintained by LaunchBadge, LLC. for a few years now, and has since been
informally transferred to the collective ownership of its principal authors. Moving the repository to a new
organization makes this change more clear, and also allows for potentially inviting outside collaborators.
Cargo.lockRemoved from TrackingThe
Cargo.lockhas been removed from tracking in Git. CI should now always test with the latest versions ofall dependencies by default, alongside our pass that checks with
cargo generate-lockfile -Z minimal-versions.This should eliminate the need for any PRs that update dependencies to also update
Cargo.lockorcontend with an endless stream of merge conflicts against it.
N.B.
cargo install --locked sqlx-cliwill no longer work. However,cargo install sqlx-clihas alwaysused the latest dependencies by default, ignoring the lockfile, so most users should not be affected. For users
requiring reproducible builds, consider maintaining your own lockfile instead; historically, we only ran
cargo updatesporadically, so relying on SQLx's lockfile offered few guarantees anyway.
See [the manual page for
cargo install][man-cargo-install] for details.Breaking
As per our MSRV policy, the supported Rust version for this release cycle is
1.94.0.sqlx.tomlformat [[@abonander]]sqlx-clinow support per-crate configuration files (sqlx.toml)DATABASE_URLfor a crate (for multi-database workspaces)_sqlx_migrationstable (for multiple crates using the same database)sqlx-tomlto use.sqlx-clihas it enabled by default, butsqlxdoes not.so it's better to keep the default feature set as limited as possible.
[This is something we learned the hard way.][preferred-crates]
sqlx::_configmodule in documentation.DATABASE_URLrenaming and global type overrides: [Link]_sqlx_migrationsrenaming and multiple schemas: [Link]chronowhentimeis enabled (e.g. when usingtower-sessions-sqlx-store): [[Link][preferred-crates]]bigdecimalwhenrust_decimalis enabled is also shown, but problems withchrono/timeare more common.Migratetraitsqlx::migrate::resolve_blocking()is now#[doc(hidden)]and thus SemVer-exempt.tracinglogs from SQLx will need to update the spelling.PgAdvisoryLockGuard[[@bonsairobo]]Migrator::set_ignore_missingandset_lockingnow return&mut Selfinstead of&Selfwhich may break code in rare circumstances.
query!()macros for certain queries in Postgres.RawSqllifetime issues [[@abonander]]DBtype parameter to all methods ofRawSqlDecode,EncodeandTypeforBox,Arc,CowandRc[[@joeydewaal]]impl Decode for Cownow always decodesCow::Owned, lifetime is unlinkedquery*()functions now takeimpl SqlSafeStrwhich is only implemented for
&'static strandAssertSqlSafe.For all others, wrap in
AssertSqlSafe(<query>).Query<'static, DB>.SqlSafeStrtrait is deliberatConfiguration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.