Skip to content

Update litrs requirement from 0.4.0 to 1.0.0#166

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/litrs-1.0.0
Open

Update litrs requirement from 0.4.0 to 1.0.0#166
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/litrs-1.0.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Updates the requirements on litrs to permit the latest version.

Release notes

Sourced from litrs's releases.

v1.0.0

As announced, this is basically just v0.5. I'm really happy to finally have litrs in v1.x state, as the library was already fit for production usage for a long time. Now the version reflects that.

  • Breaking: Mark Literal as #[non_exhaustive]
  • Document semver guarantees
Changelog

Sourced from litrs's changelog.

[1.0.0] - 2025-10-20

As announced, this is basically just v0.5. I'm really happy to finally have litrs in v1.x state, as the library was already fit for production usage for a long time. Now the version reflects that.

  • Breaking: Mark Literal as #[non_exhaustive]
  • Document semver guarantees

[0.5.1] - 2025-08-01

  • Add Literal::raw_input

[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 (also breaking due to new enum variant)
  • 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

... (truncated)

Commits
  • 66ceed8 Bump version to 1.0.0 🎉
  • 9d78932 Remove note about community feedback from README
  • b118abd Document semver guarantees regarding parser bugs and rust changes
  • f9bce2a Mark Literal as #[non_exhaustive] (BREAKING)
  • 71bd8dc Bump version to 0.5.1
  • 3c329a3 Add Literal::raw_input
  • cf81440 Add rustfmt config
  • 98f57ac Use captured identifiers in format strings for tests
  • a4a780b More rustfmt changes
  • 0971b8f Partially apply rustfmt
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

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...v1.0.0)

---
updated-dependencies:
- dependency-name: litrs
  dependency-version: 1.0.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 Feb 16, 2026
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