Skip to content

Update Rust #59

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

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

Update Rust #59

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 27, 2025

This PR contains the following updates:

Package Type Update Change
cfg-if dependencies patch 1.0.0 -> 1.0.3
html5ever dependencies minor 0.30.0 -> 0.35.0
once_cell dependencies patch 1.21.1 -> 1.21.3
ruma-common (source) dependencies patch 0.15.1 -> 0.15.4
speculoos dev-dependencies minor 0.12.0 -> 0.13.0
strum dependencies patch 0.27.1 -> 0.27.2
strum_macros dependencies patch 0.27.1 -> 0.27.2

Release Notes

rust-lang/cfg-if (cfg-if)

v1.0.3

Compare Source

  • Revert "Remove @__identity rule."

v1.0.2

Compare Source

  • Remove @__identity rule.

v1.0.1

Compare Source

  • Remove compiler-builtins from rustc-dep-of-std dependencies
  • Remove redundant configuration from Cargo.toml
  • More readable formatting and identifier names. (#​39)
  • Add expanded example to readme (#​38)
servo/html5ever (html5ever)

v0.35.0: 0.35.0

From this release forward, html5ever, xml5ever, markup5ever, and match_token are now released using a synced version number. Thus this release is version 0.35.0 of all of these crates.

Changes

  • Version numbers of all crates apart from web_atoms are now in sync. (#​637)
  • Remove dependency on the mac crate. (#​639)
  • Remove unused TreeBuilder option. (#​631)
  • Document scripting_enabled and iframe_srcdoc options (#​631)
  • Don't return a string from TreeSink::attach_declarative_shadow_root (#​633)
  • Determine the initial state for fragment parsing using the scripting flag of the context element (#​629)
matklad/once_cell (once_cell)

v1.21.3

Compare Source

v1.21.2

Compare Source

  • Relax success ordering from AcqRel to Release in race: #​278.
ruma/ruma (ruma-common)

v0.15.4: ruma-common 0.15.4

Compare Source

Bug fix:

  • Fix serde::default_on_error deserialization helper. It was working with serde_json::from_value but not other functions like serde_json::from_(str/slice). It now works with all 3 methods but is limited to deserializing JSON.

v0.15.3: ruma-common 0.15.3

Compare Source

Improvements:

  • Add RoomSummary that represents the summary of a room's state.
    • Implement From<RoomSummary> for PublicRoomsChunk
  • Add MatrixVersion::V1_15.
  • PublicRoomJoinRule now includes all possible join rule kinds, due to a clarification in Matrix 1.15.
  • Add serde::default_on_error() as a helper to ignore errors during deserialization.
  • Implement conversions between PublicRoomJoinRule and SpaceRoomJoinRule.
  • Add FeatureFlag as an enum whose variants are the flags of features supported by Ruma.
  • Add SupportedVersions, a type to parse /versions responses to get lists of supported versions and features.

v0.15.2: ruma-common 0.15.2

Compare Source

Bug fixes:

  • MatrixVersion::V1_0 now also matches Identity Service API versions r0.2.0 to r0.3.0.
  • Allow configure exhaustive types via RUMA_UNSTABLE_EXHAUSTIVE_TYPES environment variable

Improvements:

  • MatrixVersion implements PartialOrd and Ord. The variants are ordered by release date, with a newer version being greater than an older version.
  • Signatures implements IntoIterator
  • Implement PartialEqAsRefStr, Eq, PartialOrdAsRefStr, OrdAsRefStr for ruma_common::media::Method.
  • DeviceId::new() generates a string with 10 chars instead of 8.
  • Add ignore_invalid_vec_items, to assist deserialization of Vecs, where invalid items should be ignored.
  • Add MatrixVersion::V1_14.
oknozor/speculoos (speculoos)

v0.13.0

Compare Source

What's Changed

New Contributors

Full Changelog: oknozor/speculoos@0.12.0...0.13.0

Peternator7/strum (strum)

v0.27.2

Compare Source

  • #​141: Adding support for doc comments on EnumDiscriminants generated type.

    • The doc comment will be copied from the variant on the type itself.
  • #​435:allow discriminants on empty enum.

  • #​443: Change enum table callbacks to FnMut.

  • #​444: Add #[automatically_derived] to the impls by @​dandedotdev in https://github.com/Peternator7/strum/pull/444

    • This should make the linter less noisy with warnings in generated code.
  • #​440: Implement a suffix attribute for serialization of enum variants.

    #[derive(strum::Display)]
    #[strum(suffix=".json")]
    #[strum(serialize_all="snake_case")]
    enum StorageConfiguration {
      PostgresProvider,
      S3StorageProvider,
      AzureStorageProvider,
    }
    
    fn main() {
      let response = SurveyResponse::Other("It was good".into());
      println!("Loading configuration from: {}", StorageConfiguration::PostgresProvider);
      // prints: Loaded Configuration from: postgres_provider.json
    }
  • #​446: Drop needless rustversion dependency.


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.

@renovate renovate bot added the Rust label Mar 27, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.32%. Comparing base (1f9a578) to head (329c382).

❗ There is a different number of reports uploaded between BASE (1f9a578) and HEAD (329c382). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (1f9a578) HEAD (329c382)
unittests 3 1
unittests-rust 1 0
unittests-ios 1 0
uitests 1 0
uitests-ios 1 0
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
- Coverage   89.69%   83.32%   -6.38%     
==========================================
  Files         171       18     -153     
  Lines       21407     1577   -19830     
  Branches      294      294              
==========================================
- Hits        19202     1314   -17888     
+ Misses       2202      260    -1942     
  Partials        3        3              
Flag Coverage Δ
uitests ?
uitests-ios ?
unittests 83.32% <ø> (-5.19%) ⬇️
unittests-ios ?
unittests-react 83.32% <ø> (ø)
unittests-rust ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/rust branch from 5fce243 to 5bf3e58 Compare March 28, 2025 18:54
@renovate renovate bot changed the title Update Rust crate once_cell to v1.21.2 Update Rust crate once_cell to v1.21.3 Mar 28, 2025
@renovate renovate bot force-pushed the renovate/rust branch from 5bf3e58 to d05744b Compare April 6, 2025 05:37
@renovate renovate bot changed the title Update Rust crate once_cell to v1.21.3 Update Rust Apr 6, 2025
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from c0c287d to bf98879 Compare April 10, 2025 07:55
Copy link

@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 56dba3c to a4ddd06 Compare June 9, 2025 22:30
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from cc0f717 to 2ee657d Compare June 26, 2025 23:40
@renovate renovate bot force-pushed the renovate/rust branch 3 times, most recently from 9f7e70c to d500be9 Compare July 8, 2025 21:16
@renovate renovate bot force-pushed the renovate/rust branch 2 times, most recently from 52bbe6d to fffb65e Compare July 25, 2025 11:42
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant