clarkmcc / cel-rust

Common Expression Language interpreter written in Rust
https://crates.io/crates/cel-interpreter
MIT License
375 stars 21 forks source link

Update parser, interpreter to Rust 2021 edition #72

Closed waywardmonkeys closed 3 months ago

clarkmcc commented 3 months ago

While we're probably well past needing to support earlier versions of Rust, are there any specific reasons this project requires the 2021 edition in order to be used?

waywardmonkeys commented 3 months ago

The usual things are that the feature resolver in cargo changed (and you already have the examples using 2021 edition). There were also a couple of additions to the prelude.

Rust 2021 edition was in 1.56 and the practical current msrv right now for this is 1.66 or so (regex needs 1.65, axum needs 1.66).