futursolo / stylist-rs

A CSS-in-Rust styling solution for WebAssembly Applications
https://crates.io/crates/stylist
MIT License
366 stars 22 forks source link

Update litrs requirement from 0.2.3 to 0.3.0 #101

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on litrs to permit the latest version.

Release notes

Sourced from litrs's releases.

v0.3.0

Breaking

  • Bump MSRV (minimal supported Rust version) to 1.54

Added

  • Add raw_input and into_raw_input to non-bool *Lit types
  • Add impl From<*Lit> for pm::Literal (for non-bool literals)
  • Add impl From<BoolLit> for pm::Ident

Fixed

  • Fix link to reference and clarify bool literals (#7)

Internals

  • Move lots of parsing code into non-generic functions (this hopefully reduces compile times)
  • To implement [into_]raw_input for integer and float literals, their internals were changed a bit so that they store the full input string now.
Changelog

Sourced from litrs's changelog.

[0.3.0] - 2022-12-19

Breaking

  • Bump MSRV (minimal supported Rust version) to 1.54

Added

  • Add raw_input and into_raw_input to non-bool *Lit types
  • Add impl From<*Lit> for pm::Literal (for non-bool literals)
  • Add impl From<BoolLit> for pm::Ident

Fixed

  • Fix link to reference and clarify bool literals (#7)

Internals

  • Move lots of parsing code into non-generic functions (this hopefully reduces compile times)
  • To implement [into_]raw_input for integer and float literals, their internals were changed a bit so that they store the full input string now.

[0.2.3] - 2021-06-09

Changed

  • Minor internal code change to bring MSRV from 1.52 to 1.42

[0.2.2] - 2021-06-09

Changed

  • Fixed (byte) string literal parsing by:
    • Correctly handling "string continue" sequences
    • Correctly converting \n\r into \n

[0.2.1] - 2021-06-04

Changed

  • Fixed the expected value of the error returned from TryFrom<TokenTree> impls in some cases

[0.2.0] - 2021-05-28

Changed

  • Breaking: rename Error to ParseError. That describes its purpose more closely and is particular useful now that other error types exist in the library.

Removed

  • Breaking: remove proc-macro feature and instead offer the corresponding impls unconditionally. Since the feature didn't enable/disable a dependency (proc-macro is a compiler provided crate) and since apparently it works fine in no_std environments, I dropped this feature. I don't currently see a reason why the corresponding impls should be conditional.

Added

  • TryFrom<TokenTree> for litrs::Literal impls
  • From<*Lit> for litrs::Literal impls
  • TryFrom<proc_macro[2]::Literal> for *Lit
  • TryFrom<TokenTree> for *Lit
  • InvalidToken error type for all new TryFrom impls

... (truncated)

Commits
  • 3cff8b4 Bump version to 0.3.0
  • f38decc Fix tests to compile without proc-macro2 feature
  • 70e55b7 Add rust_version to Cargo.toml (it's currently 1.54)
  • 9e86329 Rename master to main
  • 88c95b9 Add inline(always) to some trivial methods that weren't inlined
  • 271ac57 Move lots of parsing code into non-generic functions
  • e9aec00 Add impl From\<BoolLit> for pm::Ident
  • 95af317 Implement From\<*Lit> for pm::Literal (for non-bool literals)
  • 882e780 Add raw_input and into_raw_input to non-bool *Lit types
  • 1654e83 Rewrite FloatLit and IntegerLit to store full input buffer
  • 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 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 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)