Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update cargo pre-1.0 packages (minor) #6614

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 21, 2025

This PR contains the following updates:

Package Type Update Change
axum dependencies minor 0.6.20 -> 0.8.0
cargo_metadata dependencies minor 0.18.1 -> 0.19.0
itertools dependencies minor 0.13.0 -> 0.14.0
jsonpath-rust dependencies minor 0.3.5 -> 0.7.0
jsonschema dependencies minor 0.17.1 -> 0.28.0
libtest-mimic dev-dependencies minor 0.7.3 -> 0.8.0
lru dependencies minor 0.12.3 -> 0.13.0
multimap dependencies minor 0.9.1 -> 0.10.0
petgraph dependencies minor 0.6.4 -> 0.7.0
prost dependencies minor 0.12.6 -> 0.13.0
prost-types dependencies minor 0.12.6 -> 0.13.0
rand (source) dependencies minor 0.8.5 -> 0.9.0
rand_core (source) dev-dependencies minor 0.6.4 -> 0.9.0
reqwest dependencies minor 0.11 -> 0.12
reqwest workspace.dependencies minor 0.11.0 -> 0.12.0
rstest dev-dependencies minor 0.22.0 -> 0.24.0
serde_yaml dependencies minor 0.8.26 -> 0.9.0
sysinfo dependencies minor 0.32.0 -> 0.33.0
tower dependencies minor 0.4.0 -> 0.5.0
wiremock dev-dependencies minor 0.5.22 -> 0.6.0
wiremock dependencies minor 0.5.22 -> 0.6.0

Release Notes

tokio-rs/axum (axum)

v0.8.0: axum v0.8.0

Compare Source

since rc.1

  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>,
    and a new Utf8Bytes type in place of String, for its variants (#​3078)
  • breaking: Remove OptionalFromRequestParts impl for Query (#​3088)
  • changed: Upgraded tokio-tungstenite to 0.26 (#​3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#​3081)

full changelog

You can also read the blog post on tokio

Note: there are further relevant changes in axum-core's changelog

  • breaking: Upgrade matchit to 0.8, changing the path parameter syntax from /:single and /*many to /{single} and /{*many}; the old syntax produces a panic to avoid silent change in behavior (#​2645)
  • breaking: Require Sync for all handlers and services added to Router and MethodRouter (#​2473)
  • breaking: The tuple and tuple_struct Path extractor deserializers now check that the number of parameters matches the tuple length exactly (#​2931)
  • breaking: Move Host extractor to axum-extra (#​2956)
  • breaking: Remove WebSocket::close. Users should explicitly send close messages themselves. (#​2974)
  • breaking: Make serve generic over the listener and IO types (#​2941)
  • breaking: Remove Serve::tcp_nodelay and WithGracefulShutdown::tcp_nodelay.
    See serve::ListenerExt for an API that let you set arbitrary TCP stream properties. (#​2941)
  • breaking: Option<Path<T>> no longer swallows all error conditions,
    instead rejecting the request in many cases; see its documentation for details (#​2475)
  • breaking: axum::extract::ws::Message now uses Bytes in place of Vec<u8>,
    and a new Utf8Bytes type in place of String, for its variants (#​3078)
  • fixed: Skip SSE incompatible chars of serde_json::RawValue in Event::json_data (#​2992)
  • fixed: Don't panic when array type is used for path segment (#​3039)
  • fixed: Avoid setting content-length before middleware.
    This allows middleware to add bodies to requests without needing to manually set content-length (#​2897)
  • change: Update minimum rust version to 1.75 (#​2943)
  • changed: Upgraded tokio-tungstenite to 0.26 (#​3078)
  • changed: Query/Form: Use serde_path_to_error to report fields that failed to parse (#​3081)
  • added: Add method_not_allowed_fallback to set a fallback when a path matches but there is no handler for the given HTTP method (#​2903)
  • added: Add NoContent as a self-described shortcut for StatusCode::NO_CONTENT (#​2978)
  • added: Add support for WebSockets over HTTP/2. They can be enabled by changing get(ws_endpoint) handlers to any(ws_endpoint) (#​2894)
  • added: Add MethodFilter::CONNECT, routing::connect[_service] and MethodRouter::connect[_service] (#​2961)
  • added: Extend FailedToDeserializePathParams::kind enum with (ErrorKind::DeserializeError). This new variant captures both key, value, and message from named path parameters parse errors, instead of only deserialization error message in ErrorKind::Message. (#​2720)

v0.7.9: axum - v0.7.9

Compare Source

  • fixed: Avoid setting content-length before middleware (#​3031)

v0.7.8: axum - v0.7.8

Compare Source

  • fixed: Skip SSE incompatible chars of serde_json::RawValue in Event::json_data (#​2992)
  • added: Add method_not_allowed_fallback to set a fallback when a path matches but there is no handler for the given HTTP method (#​2903)
  • added: Add MethodFilter::CONNECT, routing::connect[_service]
    and MethodRouter::connect[_service] (#​2961)
  • added: Add NoContent as a self-described shortcut for StatusCode::NO_CONTENT (#​2978)

v0.7.7: axum - v0.7.7

Compare Source

  • change: Remove manual tables of content from the documentation, since
    rustdoc now generates tables of content in the sidebar (#​2921)

v0.7.6: axum - v0.7.6

Compare Source

  • change: Avoid cloning Arc during deserialization of Path
  • added: axum::serve::Serve::tcp_nodelay and axum::serve::WithGracefulShutdown::tcp_nodelay (#​2653)
  • added: Router::has_routes function (#​2790)
  • change: Update tokio-tungstenite to 0.23 (#​2841)
  • added: Serve::local_addr and WithGracefulShutdown::local_addr functions (#​2881)

v0.7.5: axum - v0.7.5

Compare Source

  • fixed: Fixed layers being cloned when calling axum::serve directly with
    a Router or MethodRouter (#​2586)
  • fixed: h2 is no longer pulled as a dependency unless the http2 feature
    is enabled (#​2605)

v0.7.4: axum - v0.7.4

Compare Source

  • fixed: Fix performance regression present since axum 0.7.0 (#​2483)
  • fixed: Improve debug_handler on tuple response types (#​2201)
  • added: Add must_use attribute to Serve and WithGracefulShutdown (#​2484)
  • added: Re-export axum_core::body::BodyDataStream from axum

v0.7.3: axum - v0.7.3

Compare Source

  • added: Body implements From<()> now (#​2411)
  • change: Update version of multer used internally for multipart (#​2433)
  • change: Update tokio-tungstenite to 0.21 (#​2435)
  • added: Enable tracing feature by default (#​2460)
  • added: Support graceful shutdown on serve (#​2398)
  • added: RouterIntoService implements Clone (#​2456)

v0.7.2: axum - v0.7.2

Compare Source

  • added: Add axum::body::to_bytes (#​2373)
  • fixed: Gracefully handle accept errors in serve (#​2400)

v0.7.1: axum - v0.7.1

Compare Source

  • fix: Fix readme.

v0.7.0: axum - v0.7.0

Compare Source

  • breaking: Update public dependencies. axum now requires
  • breaking: axum now requires tower-http 0.5
  • breaking: Remove deprecated WebSocketUpgrade::max_send_queue
  • breaking: The following types/traits are no longer generic over the request body
    (i.e. the B type param has been removed) (#​1751 and #​1789):
    • FromRequestParts
    • FromRequest
    • HandlerService
    • HandlerWithoutStateExt
    • Handler
    • LayeredFuture
    • Layered
    • MethodRouter
    • Next
    • RequestExt
    • RouteFuture
    • Route
    • Router
  • breaking: axum no longer re-exports hyper::Body as that type is removed
    in hyper 1.0. Instead axum has its own body type at axum::body::Body (#​1751)
  • breaking: extract::BodyStream has been removed as body::Body
    implements Stream and FromRequest directly (#​1751)
  • breaking: Change sse::Event::json_data to use axum_core::Error as its error type (#​1762)
  • breaking: Rename DefaultOnFailedUpdgrade to DefaultOnFailedUpgrade (#​1664)
  • breaking: Rename OnFailedUpdgrade to OnFailedUpgrade (#​1664)
  • breaking: TypedHeader has been move to axum-extra (#​1850)
  • breaking: Removed re-exports of Empty and Full. Use
    axum::body::Body::empty and axum::body::Body::from respectively (#​1789)
  • breaking: The response returned by IntoResponse::into_response must use
    axum::body::Body as the body type. axum::response::Response does this
    (#​1789)
  • breaking: Removed the BoxBody type alias and its box_body
    constructor. Use axum::body::Body::new instead (#​1789)
  • breaking: Remove RawBody extractor. axum::body::Body implements FromRequest directly (#​1789)
  • breaking: The following types from http-body no longer implement IntoResponse:
    • Full, use Body::from instead
    • Empty, use Body::empty instead
    • BoxBody, use Body::new instead
    • UnsyncBoxBody, use Body::new instead
    • MapData, use Body::new instead
    • MapErr, use Body::new instead
  • added: Add axum::extract::Request type alias where the body is axum::body::Body (#​1789)
  • added: Add Router::as_service and Router::into_service to workaround
    type inference issues when calling ServiceExt methods on a Router (#​1835)
  • breaking: Removed axum::Server as it was removed in hyper 1.0. Instead
    use axum::serve(listener, service) or hyper/hyper-util for more configuration options (#​1868)
  • breaking: Only inherit fallbacks for routers nested with Router::nest.
    Routers nested with Router::nest_service will no longer inherit fallbacks (#​1956)
  • fixed: Don't remove the Sec-WebSocket-Key header in WebSocketUpgrade (#​1972)
  • added: Add axum::extract::Query::try_from_uri (#​2058)
  • added: Implement IntoResponse for Box<str> and Box<[u8]> ([#​2035])
  • breaking: Simplify MethodFilter. It no longer uses bitflags (#​2073)
  • fixed: Fix bugs around merging routers with nested fallbacks (#​2096)
  • fixed: Fix .source() of composite rejections (#​2030)
  • fixed: Allow unreachable code in #[debug_handler] (#​2014)
  • change: axum's MSRV is now 1.66 (#​1882)
  • added: Implement IntoResponse for (R,) where R: IntoResponse (#​2143)
  • changed: For SSE, add space between field and value for compatibility (#​2149)
  • added: Add NestedPath extractor (#​1924)
  • added: Add handle_error function to existing ServiceExt trait (#​2235)
  • breaking: impl<T> IntoResponse(Parts) for Extension<T> now requires
    T: Clone, as that is required by the http crate (#​1882)
  • added: Add axum::Json::from_bytes (#​2244)
  • added: Implement FromRequestParts for http::request::Parts (#​2328)
  • added: Implement FromRequestParts for http::Extensions (#​2328)
  • fixed: Clearly document applying DefaultBodyLimit to individual routes (#​2157)
oli-obk/cargo_metadata (cargo_metadata)

v0.19.1

Compare Source

v0.19.0

Compare Source

Added
  • Re-exported semver crate directly.
  • Added implementation of std::ops::Index<&PackageId> for Resolve.
  • Added pub fn is_kind(&self, name: TargetKind) -> bool to Target.
  • Added derived implementations of PartialEq, Eq and Hash for Metadata and its members' types.
  • Added default fields to PackageBuilder.
  • Added pub fn new(name:version:id:path:) -> Self to PackageBuilder for providing all required fields upfront.
Changed
  • Bumped MSRV from 1.42.0 to 1.56.0.
  • Made parse_stream more versatile by accepting anything that implements Read.
  • Converted TargetKind and CrateType to an enum representation.
Removed
  • Removed re-exports for BuildMetadata and Prerelease from semver crate.
  • Removed .is_lib(…), .is_bin(…), .is_example(…), .is_test(…), .is_bench(…), .is_custom_build(…), and .is_proc_macro(…) from Target (in favor of adding .is_kind(…)).
Fixed
  • Added missing manifest_path field to Artifact. Fixes #​187.
rust-itertools/itertools (itertools)

v0.14.0

Compare Source

Breaking
  • Increased MSRV to 1.63.0 (#​960)
  • Removed generic parameter from cons_tuples (#​988)
Added
  • Added array_combinations (#​991)
  • Added k_smallest_relaxed and variants (#​925)
  • Added next_array and collect_array (#​560)
  • Implemented DoubleEndedIterator for FilterOk (#​948)
  • Implemented DoubleEndedIterator for FilterMapOk (#​950)
Changed
  • Allow Q: ?Sized in Itertools::contains (#​971)
  • Improved hygiene of chain! (#​943)
  • Improved into_group_map_by documentation (#​1000)
  • Improved tree_reduce documentation (#​955)
  • Improved discoverability of merge_join_by (#​966)
  • Improved discoverability of take_while_inclusive (#​972)
  • Improved documentation of find_or_last and find_or_first (#​984)
  • Prevented exponentially large type sizes in tuple_combinations (#​945)
  • Added track_caller attr for asser_equal (#​976)
Notable Internal Changes
  • Fixed clippy lints (#​956, #​987, #​1008)
  • Addressed warnings within doctests (#​964)
  • CI: Run most tests with miri (#​961)
  • CI: Speed up "cargo-semver-checks" action (#​938)
  • Changed an instance of default_features in Cargo.toml to default-features (#​985)
besok/jsonpath-rust (jsonpath-rust)

v0.4.0

Compare Source

Stranger6667/jsonschema (jsonschema)

v0.28.3

Fixed
  • Panic when schema registry base URI contains an unencoded fragment.
Performance
  • Fewer JSON pointer lookups.

v0.28.2

Fixed
  • Resolving external references that nested inside local references. #​671
  • Resolving relative references with fragments against base URIs that also contain fragments. #​666
Performance
  • Faster JSON pointer resolution.

v0.28.1

Fixed
  • Handle fragment references within $id-anchored subschemas. #​640

v0.28.0

Added
  • Implement IntoIterator for Location to iterate over LocationSegment.
  • Implement FromIter for Location to build a Location from an iterator of LocationSegment.
  • ValidationError::to_owned method for converting errors into owned versions.
  • Meta-schema validation support. #​442

v0.27.1

Added
  • Implement ExactSizeIterator for PrimitiveTypesBitMapIterator.

v0.27.0

Added
  • Added masked() and masked_with() methods to ValidationError to support hiding sensitive data in error messages. #​434
Changed
  • Improved error message for unknown formats.
  • Bump MSRV to 1.71.1.

v0.26.2

Documentation
  • Fix documentation for validate

v0.26.1

Fixed
  • Return "Unknown specification" error on https-prefixed $schema for Draft 4, 5, 6. #​629

v0.26.0

Important: This release contains breaking changes. See the Migration Guide for details on transitioning to the new API.

Added
  • Validator::iter_errors that iterates over all validation errors.
Changed
  • BREAKING: Remove unused ValidationErrorKind::JSONParse, ValidationErrorKind::InvalidReference, ValidationErrorKind::Schema, ValidationErrorKind::FileNotFound and ValidationErrorKind::Utf8.
  • BREAKING: Validator::validate now returns the first error instead of an iterator in the Err variant.
Performance
  • Optimize error formatting in some cases.

v0.25.1

Fixed
  • Re-export referencing::Error as ReferencingError. #​614

v0.25.0

Important: This release removes deprecated old APIs. See the Migration Guide for details on transitioning to the new API.

Changed
  • BREAKING: Default to Draft 2020-12.
Removed
  • Deprecated draft201909, draft202012, and cli features.
  • Deprecated CompilationOptions, JSONSchema, PathChunkRef, JsonPointerNode, and SchemaResolverError aliases.
  • Deprecated jsonschema::compile, Validator::compile, ValidationOptions::compile, ValidationOptions::with_resolver, ValidationOptions::with_meta_schemas, ValidationOptions::with_document functions.
  • Deprecated SchemaResolver trait.

v0.24.3

Fixed
  • Infinite recursion when using mutually recursive $ref in unevaluatedProperties.

v0.24.2

Fixed
  • Infinite recursion in some cases. #​146
  • $ref interaction with $recursiveAnchor in Draft 2019-09.
  • unevaluatedProperties with $recursiveRef & $dynamicRef.

v0.24.1

Fixed
  • Incomplete external reference resolution.

v0.24.0

Added
  • Support $ref, $recursiveRef, and $dynamicRef in unevaluatedItems. #​287
  • Support for $vocabulary. #​263
Changed
  • Ignore prefixItems under Draft 2019-09 as it was introduced in Draft 2020-12.
Fixed
  • Numbers with zero fraction incorrectly handled in uniqueItems.
Performance
  • Speedup apply.

v0.23.0

Added
  • Partial support for unevaluatedItems, excluding references.
Changed
  • Improve error messages on WASM. #​568
  • Improve error messages on URI resolving and parsing.
  • BREAKING: Replace JsonPointer in favor of Location.
Deprecated
  • PathChunkRef in favor of LocationSegment.
  • JsonPointerNode in favor of LazyLocation.
Fixed
  • Resolving file references on Windows. #​441
  • Missing annotations from by-reference applicators. #​403
  • Relative keyword locations missing by-reference applicators (such as $ref or $dynamicRef).
Performance
  • Faster building of a validator.
  • Speedup hostname & idn-hostname formats validation.
  • Speedup apply.
Removed
  • JsonPointerNode::to_vec without a replacement.

v0.22.3

Performance
  • Speedup resolving.

v0.22.2

Fixed
  • ECMAScript 262 regex support.
Performance
  • Speedup json-pointer and relative-json-pointer formats validation.

v0.22.1

Fixed
  • Removed dbg! macro.

v0.22.0

Changed
  • Extend email validation. #​471
  • BREAKING: Custom retrievers now receive &Uri<&str> instead of &UriRef<&str>
  • Bump once_cell to 1.20.
  • Bump regex to 1.11.
Fixed
  • time format validation (leap seconds and second fractions).
  • duration format validation.
  • Panic on root $id without base. #​547
  • hostname format validation (double dot).
  • idn-hostname format validation. #​101
Performance
  • Faster building of a validator.
  • Speedup hostname, date, time, date-time, and duration formats validation.
  • Cache regular expressions for pattern. #​417

v0.21.0

Important: This release brings a complete rework of reference resolving which deprecates some older APIs.
While backward compatibility is maintained for now, users are encouraged to update their code. See the Migration Guide for details on transitioning to the new API.

Added
  • $anchor support.
  • $recursiveRef & $recursiveAnchor support in Draft 2019-09.
  • $dynamicRef & $dynamicAnchor support in Draft 2020-12.
Changed
  • BREAKING: Treat $ref as URI, not URL, and additionally normalize them. #​454
  • BREAKING: Resolve all non-recursive references eagerly.
  • BREAKING: Disallow use of fragments in $id. #​264
Deprecated
  • SchemaResolver trait and SchemaResolverError in favor of a simpler Retrieve that works with Box<dyn std::error::Error>.
    In turn, it also deprecates ValidationOptions::with_resolver in favor of ValidationOptions::with_retriever
  • ValidationOptions::with_document in favor of ValidationOptions::with_resource.
Fixed
  • Infinite recursion in unevaluatedProperties. #​420
  • Cross-draft validation from newer to older ones.
  • Changing base URI in folder.
  • Location-independent identifier in remote resource.
  • Missing some format validation for Draft 2020-12.
  • Incomplete iri & iri-reference validation.
Performance
  • Faster validation for uri, iri, uri-reference, and iri-reference formats.

v0.20.0

Important: This release includes several deprecations and renames. While backward compatibility is maintained for now, users are encouraged to update their code. See the Migration Guide for details on transitioning to the new API.

Added
  • New draft-specific modules for easier version-targeted validation:
    • jsonschema::draft4
    • jsonschema::draft6
    • jsonschema::draft7
    • jsonschema::draft201909
    • jsonschema::draft202012
      Each module provides new(), is_valid(), and options() functions.
  • jsonschema::options() function as a shortcut for jsonschema::Validator::options(), that allows for customization of the validation process.
Changed
  • Make Debug implementation for SchemaNode opaque.
  • Make jsonschema::validator_for and related functions return ValidationError<'static> in their Err variant.
    This change makes possible to use the ? operator to return errors from functions where the input schema is defined.
Deprecated
  • Rename CompilationOptions to ValidationOptions for clarity.
  • Rename JSONSchema to Validator for clarity. #​424
  • Rename JSONPointer to JsonPointer for consistency with naming conventions. #​424
  • Rename jsonschema::compile to jsonschema::validator_for.
  • Rename CompilationOptions::compile to ValidationOptions::build.

Old names are retained for backward compatibility but will be removed in a future release.

Fixed
  • Location-independent references in remote schemas on drafts 4, 6, and 7.

v0.19.1

Fixed

v0.19.0

Added
  • jsonschema::compile shortcut.
Changed
  • Bump MSRV to 1.70.
Fixed
  • uuid format validation.
  • Combination of unevaluatedProperties with allOf and oneOf. #​496
Deprecated
  • cli feature in favor of a separate jsonschema-cli crate.
  • draft201909 and draft202012 features. The relevant functionality is now enabled by default.
Performance
  • uuid validation via uuid-simd.

v0.18.3

Fixed
  • Changing base URI when $ref is present in drafts 7 and earlier.
  • Removed dbg! macro.

v0.18.2

Fixed
  • Ignoring $schema in resolved references.
  • Support integer-valued numbers for maxItems, maxLength, maxProperties, maxContains, minItems, minLength, minProperties, minContains.
Deprecated
  • with_meta_schemas() method. Meta schemas are included by default.

v0.18.1

Added
  • ErrorDescription::into_inner to retrieve the inner String value.

v0.18.0

Added
  • Custom keywords support. #​379
  • Expose JsonPointerNode that can be converted into JSONPointer.
    This is needed for the upcoming custom validators support.
Changed
  • Bump base64 to 0.22.
  • Bump clap to 4.5.
  • Bump fancy-regex to 0.13.
  • Bump fraction to 0.15.
  • Bump memchr to 2.7.
  • Bump once_cell to 1.19.
  • Bump percent-encoding to 2.3.
  • Bump regex to 1.10.
  • Bump url to 2.5.
  • Build CLI only if the cli feature is enabled.
  • BREAKING: Extend CompilationOptions to support more ways to define custom format checkers (for example in Python bindings).
    In turn it changes ValidationErrorKind::Format to contain a String instead of a &'static str.
Fixed
  • Incorrect schema_path when multiple errors coming from the $ref keyword #​426
Performance
  • Optimize building JSONPointer for validation errors by allocating the exact amount of memory needed.
  • Avoid cloning path segments during validation.
LukasKalbertodt/libtest-mimic (libtest-mimic)

v0.8.1

Compare Source

  • Fix bug when executing trial on fewer threads than trials (thanks @​hanna-kruppe for catching this)

v0.8.0

Compare Source

  • Breaking: bump MSRV to 1.65
  • Remove threadpool dependency, getting rid of memory leaks observed when running under valgrind (thanks @​Felix-El) in #​46
  • Switch from termcolor to anstream to get rid of duplicate dependencies (thanks @​hanna-kruppe) in #​44
  • Bump dev-dependency fastrand to 2 (thanks @​alexanderkjall) in #​47
  • Fix outdated docs
jeromefroe/lru-rs (lru)

v0.13.0

Compare Source

  • Add peek_mru and pop_mru methods, upgrade dependency on hashbrown to 0.15.2, and update MSRV to 1.65.0.
petgraph/petgraph (petgraph)

v0.7.1

Compare Source

==========================

  • Do not unnecessarily restrict indexmap version (#714_)
  • Export UndirectedAdaptor (#717_)

.. _#714: https://github.com/petgraph/petgraph/pull/714
.. _#717: https://github.com/petgraph/petgraph/pull/717

v0.7.0

Compare Source

==========================

  • Re-released version 0.6.6 with the correct version number, as it included a major update to an exposed crate (#664_).

v0.6.6

Compare Source

===================================

  • Add graph6 format encoder and decoder (#658_)
  • Dynamic Topological Sort algorithm support (#675_)
  • Add UndirectedAdaptor (#695_)
  • Add LowerHex and UpperHex implementations for Dot (#687_)
  • Make serde support more complete (#550_)
  • Process multiple edges in the Floyd-Warshall implementation (#685_)
  • Update fixedbitset to 0.5.7 (#664_)
  • Fix immediately_dominated_by function called on root of graph returns root itself (#670_)
  • Fix adjacency matrix for Csr and List (#648_)
  • Fix clippy warnings (#701_)
  • Add performance note to the all_simple_paths function documentation (#693_)

.. _#658: https://github.com/petgraph/petgraph/pull/658
.. _#675: https://github.com/petgraph/petgraph/pull/675
.. _#695: https://github.com/petgraph/petgraph/pull/695
.. _#687: https://github.com/petgraph/petgraph/pull/687
.. _#550: https://github.com/petgraph/petgraph/pull/550
.. _#685: https://github.com/petgraph/petgraph/pull/685
.. _#664: https://github.com/petgraph/petgraph/pull/664
.. _#670: https://github.com/petgraph/petgraph/pull/670
.. _#648: https://github.com/petgraph/petgraph/pull/648
.. _#701: https://github.com/petgraph/petgraph/pull/701
.. _#693: https://github.com/petgraph/petgraph/pull/693

tokio-rs/prost (prost)

v0.13.4

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features

  • Impl Name for Protobuf well-known wrapper types (#​1174)

Performance

  • NonZeroU64 to optimize encoded_len_varint (#​1192)

Dependencies

  • Remove unused bytes dependency from prost-build (#​1169)
  • Update pulldown-cmark-to-cmark requirement from >=16, <=17 to >=16, <=18 (#​1173)
  • Update pulldown-cmark-to-cmark requirement from >=16, <=18 to >=16, <=19 (#​1195)
  • Update protobuf to v25.3 (#​1165)
  • Update protobuf to v25.4 (#​1176)

Styling

  • Remove explicit lifetimes (#​1180)
  • Remove unnecessary empty line after document (#​1181)

Testing

  • (boxed_field) Confirm Foo::bar is boxed (#​1168)
  • Move build.rs to standard location (#​1167)
  • (custom_debug) Merge skip_debug into custom_debug (#​1178)
  • Rename invalid_doctest to disable_comments (#​1183)
  • (custom_attributes) Move module to separate file (#​1187)

Build

  • Bump clippy version to 1.82 (#​1182)
  • Restrict permissions of GITHUB_TOKEN (#​1189)

v0.13.3

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features
  • (prost-types) Add normalized functions (#​1158)
Bug Fixes
  • (prost-build) Remove derived(Copy) on boxed fields (#​1157)
Documentation
  • (prost-types) Add description of using Any (#​1141)
  • (prost-build) Use cargo add in example (#​1149)
Styling
  • Use Path::display() when printing a path (#​1150)
  • MessageGraph::new() can't actually fail (#​1151)
  • (generated-code) Use Self in as_str_name (#​1154)
Testing
  • Actually test skip_debug for prost::Oneof (#​1148)
  • (prost-build) Validate error texts (#​1152)
  • (prost-build) Fix error texts (#​1156)
Build
  • Increase MSRV to 1.71.1 (#​1135)
  • (deps) Update pulldown-cmark to 0.12 and pulldown-cmark-to-cmark to 16 (#​1144)
  • (protobuf) Compile and install protoc on Windows (#​1145)
  • (protobuf) Use same protoc from same repo as .proto-files (#​1136)
  • (deps) Update pulldown-cmark-to-cmark from 16 to 17 (#​1155)
  • Unify assert on fixtures (#​1142)

v0.13.2

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Features

  • prost-build: Add protoc executable path to Config (#​1126)
  • prost-build: Extract file descriptor loading from compile_protos() (#​1067)

Bug Fixes

  • prost-types: Fix date-time parsing (#​1096)
  • prost-types: '+' is not a numeric digit (#​1104)
  • prost-types: Converting DateTime to Timestamp is fallible (#​1095)
  • prost-types: Parse timestamp with long second fraction (#​1106)
  • prost-types: Format negative fractional duration (#​1110)
  • prost-types: Allow unknown local time offset (#​1109)

Styling

  • Remove use of legacy numeric constants (#​1089)
  • Move encoding functions into separate modules (#​1111)
  • Remove needless borrow (#​1122)

Testing

  • Add tests for public interface of DecodeError (#​1120)
  • Add parse_date fuzzing target (#​1127)
  • Fix build without std (#​1134)
  • Change some proptest to kani proofs (#​1133)
  • Add parse_duration fuzzing target (#​1129)
  • fuzz: Fix building of fuzzing targets (#​1107)
  • fuzz: Add fuzz targets to workspace (#​1117)

Miscellaneous Tasks

  • Move old protobuf benchmark into prost (#​1100)
  • Remove allow clippy::derive_partial_eq_without_eq (#​1115)
  • Run cargo test without all-targets (#​1118)
  • dependabot: Add github actions (#​1121)
  • Update to cargo clippy version 1.80 (#​1128)

Build

  • Use proc-macro in Cargo.toml (#​1102)
  • Ignore missing features in tests crates (#​1101)
  • Use separated build directory for protobuf (#​1103)
  • protobuf: Don't install unused test proto (#​1116)
  • protobuf: Use crate cmake (#​1137)
  • deps: Update devcontainer to Debian Bookworm release (#​1114)
  • deps: Bump actions/upload-artifact from 3 to 4 (#​1123)
  • deps: Bump baptiste0928/cargo-install from 2 to 3 (#​1124)
  • deps: bump model-checking/kani-github-action from 0.32 to 1.1 (#​1125)

v0.13.1

Compare Source

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

Bug fixes

  • Enum variant named Error causes ambiguous item (#​1098)

v0.13.0

Compare Source

note: this version was yanked in favor of 0.13.1

PROST! is a Protocol Buffers implementation for the Rust Language. prost generates simple, idiomatic Rust code from proto2 and proto3 files.

This major update brings new features and fixes:

Breaking changes

  • derive Copy trait for messages where possible (#​950)

    prost-build will automatically derive trait Copy for some messages. If you manually implement Copy you should remove your implementation.

  • Change generated functions signatures to remove type parameters (#​1045)

    The function signature of trait Message is changed to use impl Buf instead of a named generic type. If you implement trait Message, you should change the function signature.

  • Lightweight error value in TryFrom for enums (#​1010)

    When a impl TryFrom<i32> is generated by prost derive macros, it will now return the error type UnknownEnumValue instead of DecodeError. The new error can be used to retreive the integer value that failed to convert.

Features

  • fix: Only touch include file if contents is changed (#​1058)

    Most generated files are untouched when the contents doesn't change. Use the same mechanism for include file as well.

Dependencies

  • update env_logger requirement from 0.10 to 0.11 (#​1074)
  • update criterion requirement from 0.4 to 0.5 (#​1071)
  • Remove unused libz-sys (#​1077)
  • build(deps): update itertools requirement from >=0.10, <=0.12 to >=0.10, <=0.13 (#​1070)

Documentation

  • better checking of tag duplicates, avoid discarding invalid variant errs (#​951)
  • docs: Fix broken link warnings (#​1056)
  • Add missing LICENSE symlink (#​1086)

Internal

  • workspace package metadata (#​1036)
  • fix: Build error due to merge conflict (#​1068)
  • build: Fix release scripts (#​1055)
  • chore: Add ci to check MSRV (#​1057)
  • ci: Add all tests pass job (#​1069)
  • ci: Add Dependabot (#​957)
  • ci: Ensure both README are the same and prost version is correct (#​1078)
  • ci: Set rust version of clippy job to a fixed version (#​1090)
rust-random/rand (rand)

v0.9.0

Compare Source

Security and unsafe
  • Policy: "rand is not a crypto library" (#​1514)
  • Remove fork-protection from ReseedingRng and ThreadRng. Instead, it is recommended to call ThreadRng::reseed on f

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jan 21, 2025

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `reqwest`.
    ... required by package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`
versions that meet the requirements `^0.12.0` are: 0.12.9, 0.12.12, 0.12.11, 0.12.10, 0.12.8, 0.12.7, 0.12.6, 0.12.5, 0.12.4, 0.12.3, 0.12.2, 0.12.1, 0.12.0

the package `router-fuzz` depends on `reqwest`, with features: `rustls-native-certs` but `reqwest` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


all possible versions conflict with previously selected packages.

  previously selected package `reqwest v0.12.10`
    ... which satisfies dependency `reqwest = "^0.12.0"` of package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`

failed to select a version for `reqwest` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path apollo-federation/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `reqwest`.
    ... required by package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`
versions that meet the requirements `^0.12.0` are: 0.12.9, 0.12.12, 0.12.11, 0.12.10, 0.12.8, 0.12.7, 0.12.6, 0.12.5, 0.12.4, 0.12.3, 0.12.2, 0.12.1, 0.12.0

the package `router-fuzz` depends on `reqwest`, with features: `rustls-native-certs` but `reqwest` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


all possible versions conflict with previously selected packages.

  previously selected package `reqwest v0.12.10`
    ... which satisfies dependency `reqwest = "^0.12.0"` of package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`

failed to select a version for `reqwest` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path apollo-router/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `reqwest`.
    ... required by package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`
versions that meet the requirements `^0.12.0` are: 0.12.9, 0.12.12, 0.12.11, 0.12.10, 0.12.8, 0.12.7, 0.12.6, 0.12.5, 0.12.4, 0.12.3, 0.12.2, 0.12.1, 0.12.0

the package `router-fuzz` depends on `reqwest`, with features: `rustls-native-certs` but `reqwest` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


all possible versions conflict with previously selected packages.

  previously selected package `reqwest v0.12.10`
    ... which satisfies dependency `reqwest = "^0.12.0"` of package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`

failed to select a version for `reqwest` which could resolve this conflict

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path fuzz/subgraph/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `reqwest`.
    ... required by package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`
versions that meet the requirements `^0.12.0` are: 0.12.9, 0.12.12, 0.12.11, 0.12.10, 0.12.8, 0.12.7, 0.12.6, 0.12.5, 0.12.4, 0.12.3, 0.12.2, 0.12.1, 0.12.0

the package `router-fuzz` depends on `reqwest`, with features: `rustls-native-certs` but `reqwest` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


all possible versions conflict with previously selected packages.

  previously selected package `reqwest v0.12.10`
    ... which satisfies dependency `reqwest = "^0.12.0"` of package `router-fuzz v0.0.0 (/tmp/renovate/repos/github/apollographql/router/fuzz)`

failed to select a version for `reqwest` which could resolve this conflict

@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Jan 21, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: d7c93878bd3a526960cacc17

Copy link
Contributor

@renovate[bot], please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

@router-perf
Copy link

router-perf bot commented Jan 21, 2025

CI performance tests

  • connectors-const - Connectors stress test that runs with a constant number of users
  • const - Basic stress test that runs with a constant number of users
  • demand-control-instrumented - A copy of the step test, but with demand control monitoring and metrics enabled
  • demand-control-uninstrumented - A copy of the step test, but with demand control monitoring enabled
  • enhanced-signature - Enhanced signature enabled
  • events - Stress test for events with a lot of users and deduplication ENABLED
  • events_big_cap_high_rate - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity
  • events_big_cap_high_rate_callback - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity using callback mode
  • events_callback - Stress test for events with a lot of users and deduplication ENABLED in callback mode
  • events_without_dedup - Stress test for events with a lot of users and deduplication DISABLED
  • events_without_dedup_callback - Stress test for events with a lot of users and deduplication DISABLED using callback mode
  • extended-reference-mode - Extended reference mode enabled
  • large-request - Stress test with a 1 MB request payload
  • no-tracing - Basic stress test, no tracing
  • reload - Reload test over a long period of time at a constant rate of users
  • step-jemalloc-tuning - Clone of the basic stress test for jemalloc tuning
  • step-local-metrics - Field stats that are generated from the router rather than FTV1
  • step-with-prometheus - A copy of the step test with the Prometheus metrics exporter enabled
  • step - Basic stress test that steps up the number of users over time
  • xlarge-request - Stress test with 10 MB request payload
  • xxlarge-request - Stress test with 100 MB request payload

@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch 3 times, most recently from 824811d to 3f6b4f5 Compare January 27, 2025 14:26
@renovate renovate bot force-pushed the renovate/cargo-all-pre-1.0 branch from 3f6b4f5 to bc8d1b2 Compare January 28, 2025 04:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant