Skip to content

Update litrs requirement from 0.4 to 0.5#3

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/litrs-0.5
Closed

Update litrs requirement from 0.4 to 0.5#3
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/litrs-0.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 28, 2025

Copy link
Copy Markdown
Contributor

Updates the requirements on litrs to permit the latest version.

Release notes

Sourced from litrs's releases.

v0.5.0

Note: this is supposed to be essentially a 1.0 release candidate. If there are no problems with this release, it will be released as 1.0 after some time.

  • Breaking Bump MSRC from 1.54 to 1.56
  • Breaking: Remove proc-macro2 from default features
  • Breaking: Make StringLit<String>::into_value return String instead of Cow<'static, str>. Make ByteStringLit<String>::into_value return Vec<u8> instead of Cow<'static, [u8]>.
  • Add support for C string literals
  • Limit number of # as delimiter of raw string literals to 256 (to align with spec)
  • Fix license in Cargo.toml to use proper SPDX format (in #19, thanks @​atouchet)
  • Fix error span for InvalidStartOfUnicodeEscape errors
Changelog

Sourced from litrs's changelog.

[0.5.0] - 2025-07-25

Note: this is supposed to be essentially a 1.0 release candidate. If there are no problems with this release, it will be released as 1.0 after some time.

  • Breaking Bump MSRC from 1.54 to 1.56
  • Breaking: Remove proc-macro2 from default features
  • Breaking: Make StringLit<String>::into_value return String instead of Cow<'static, str>. Make ByteStringLit<String>::into_value return Vec<u8> instead of Cow<'static, [u8]>.
  • Add support for C string literals
  • Limit number of # as delimiter of raw string literals to 256 (to align with spec)
  • Fix license in Cargo.toml to use proper SPDX format (in #19, thanks @​atouchet)
  • Fix error span for InvalidStartOfUnicodeEscape errors

[0.4.2] - 2025-07-25

  • Fix incorrect byte string value with non-ASCII \xHH byte string escapes
    • ByteStringLit::parse(r#"b"\xff""#).unwrap().value() would return [0xc3, 0xbf] instead of [0xff].
  • Remove CR LF normalization to align with spec
    • This is technically a breaking change, but released with a minor version bump as it just aligns with the specification. It is extremely unlikely to affect any real world use case.
  • Fix incorrect error span for out-of-range Unicode escapes

[0.4.1] - 2023-10-18

  • Fixed incorrectly labeling 27f32 a float literals in docs.
  • Added hint to integer literal docs about parsing as u128.

[0.4.0] - 2023-03-05

Added

  • Add ability to parse literals with arbitrary suffixes (e.g. "foo"bla or 23px)
  • Add suffix() method to all literal types except BoolLit
  • Add IntegerBase::value
  • Add from_suffix and suffix methods to FloatType and IntegerType
  • Add FromStr and Display impls to FloatType and IntegerType

Changed

  • Breaking: Mark FloatType and IntegerType as #[non_exhaustive]
  • Breaking: Fix integer parsing for cases like 27f32. Literal::parse and IntegerLit::parse will both identify this as an integer literal.
  • Breaking: Fix float parsing by correctly rejecting inputs like 27f32. A float literal must have a period OR an exponent part, according to the spec. Previously decimal integers were accepted in FloatLit::parse.
  • Improved some parts of the docs

Removed

  • Breaking: Remove OwnedLiteral and SharedLiteral

[0.3.0] - 2022-12-19

Breaking

  • Bump MSRV (minimal supported Rust version) to 1.54

Added

... (truncated)

Commits
  • 1564210 Bump version to 0.5.0
  • 2609276 Apply a few clippy suggestions
  • de790cb Merge pull request #19 from atouchet/cgo
  • 7ac7c35 Update Cargo.toml
  • fa92e9b Remove proc-macro2 from default features
  • 386e104 Make into_value() return String/Vec\<u8> instead of Cow
  • ad4e20f Refactor unescape to not take offset parameter anymore
  • d5b0009 Limit number of # for raw strings to 256 (to align with spec)
  • 770b573 Add support for C string literals (and add MSRV to 1.56)
  • 1dc8a3e Bump version to 0.4.2
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [litrs](https://github.com/LukasKalbertodt/litrs) to permit the latest version.
- [Release notes](https://github.com/LukasKalbertodt/litrs/releases)
- [Changelog](https://github.com/LukasKalbertodt/litrs/blob/main/CHANGELOG.md)
- [Commits](LukasKalbertodt/litrs@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: litrs
  dependency-version: 0.5.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Jul 28, 2025
@dependabot @github

dependabot Bot commented on behalf of github Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #4.

@dependabot dependabot Bot closed this Oct 20, 2025
@dependabot dependabot Bot deleted the dependabot/cargo/litrs-0.5 branch October 20, 2025 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants