Upgrading pest 1 to 2
Breaking1.0.6 → 2.9.5Breaking1Platform2New11Changed14Fixed22Other20
Fetching 54 releases from GitHub…24 / 54
BreakingUpgrade verdict
1 breaking change and 2 platform requirement changes.
In plain terms
- Grammar features like node tags now require turning on a feature flag, because they could break Cargo version resolution.
- pest now requires a newer version of the Rust compiler.
- You now need Rust 1.80.0 or newer to build pest with default features.
Must act 3 items need code or config changes
Requires Rust 1.83 from 2.8.4 (none stated before).
Adds criterion ^0.5.1, memchr ^2.4.0, miette ^7.2.0, pest_stack_guard ^1, serde ^1.0.145, serde_json ^1.0.85, ucd-trie ^0.1.5.
Installs 115 packages in all (was 0).
Also installs addr2line, adler2, anes, anstyle, autocfg, backtrace, backtrace-ext, bitflags, bumpalo, cast, cc, cfg-if, ciborium, ciborium-io, ciborium-ll and 82 more.
What you must change
Breaking1
Moves node tag and future grammar features behind the grammar-extras feature flag on pest_derive.
pest_derivegrammar-extrasRulePlatform2
Bumps the minimum supported Rust version (MSRV).
Raises the Minimum Supported Rust Version for default features to 1.80.0.