Skip to content

deps(deps): bump litrs from 1.0.1 to 1.1.0 - #295

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/litrs-1.1.0
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Contributor

Bumps litrs from 1.0.1 to 1.1.0.

Release notes

Sourced from litrs's releases.

v1.1.0

  • Add FloatLit::value (and its helper FromFloatLiteral)
    • This now allows you to actually get the float value from literals. The old advice (f32::from_str(lit.number_part())) didn't always work.
  • Fix Display impl of IntegerLit and FloatLit ignoring width/padding format options
  • Improve error message of TryFrom<TokenTree> for *Lit for true/false tokens ("found a bool literal" instead of "found an identifier")
  • Fix span of "integer suffix must not start with 'e'" error for binary and octal literals
Changelog

Sourced from litrs's changelog.

[1.1.0] - 2026-11-24

  • Add FloatLit::value (and its helper FromFloatLiteral)
    • This now allows you to actually get the float value from literals. The old advice (f32::from_str(lit.number_part())) didn't always work.
  • Fix Display impl of IntegerLit and FloatLit ignoring width/padding format options
  • Improve error message of TryFrom<TokenTree> for *Lit for true/false tokens ("found a bool literal" instead of "found an identifier")
  • Fix span of "integer suffix must not start with 'e'" error for binary and octal literals
Commits
  • 264dc9a Bump version to 1.1.0
  • 8009336 Use pad in Display impl of FloatLit/IntegerLit
  • c27fe3c Add CI tests for proc-macro2 and MSRV
  • ad184cb Remove unused code
  • c4072b1 Improve TryFrom\<TokenTree> error for true/false
  • a47e1dc Add FloatLit::value (and its helper FromFloatLiteral)
  • 4710b2e Fix copy paste errors in docs for c-strings
  • bec6e18 Fix typo in README (bool -> true)
  • c96f1db Fix span for IntegerSuffixStartingWithE error
  • See full diff in compare view

Dependabot compatibility score

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)

Bumps [litrs](https://github.com/LukasKalbertodt/litrs) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/LukasKalbertodt/litrs/releases)
- [Changelog](https://github.com/LukasKalbertodt/litrs/blob/main/CHANGELOG.md)
- [Commits](LukasKalbertodt/litrs@v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: litrs
  dependency-version: 1.1.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

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 Nov 30, 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.

1 participant