litrs breaking changes

cargo

10 curated breaking changes across major versions of litrs. Use this as a migration checklist before bumping dependencies.

10
changes
Breaking changes by transition
  • v0.5.1 \u2192 v1.0.0breaking

    Document semver guarantees

  • v0.4.2 \u2192 v0.5.0breaking

    **Breaking**: Remove `proc-macro2` from default features

  • v0.4.2 \u2192 v0.5.0breaking

    **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]>`.

  • v0.4.2 \u2192 v0.5.0breaking

    Add support for C string literals

  • v0.4.2 \u2192 v0.5.0breaking

    Limit number of `#` as delimiter of raw string literals to 256 (to align with spec)

  • v0.4.2 \u2192 v0.5.0breaking

    Fix license in `Cargo.toml` to use proper SPDX format (in #19, thanks @atouchet)

  • v0.3.0 \u2192 v0.4.0breaking

    **Breaking**: Fix integer parsing for cases like `27f32`. `Literal::parse` and `IntegerLit::parse` will both identify this as an integer literal.

  • v0.3.0 \u2192 v0.4.0breaking

    **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`.

  • v0.3.0 \u2192 v0.4.0breaking

    Improved some parts of the docs

  • v0.2.3 \u2192 v0.3.0breaking

    Bump MSRV (minimal supported Rust version) to 1.54

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/litrs
litrs breaking changes — Cargo migration guide | DepScope