You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[0.9.4] - 2024-12-31 ([0.4.0] for rsonpath-syntax)
Library
Serde support for MainEngine and JsonPathQuery in rsonpath-syntax.
Implemented serde::Serialize and serde::Deserialize for MainEngine in rsonpath-lib,
and for JsonPathQuery and its consituent types in rsonpath-syntax.
The serde dependency is guarded behind the optional serde feature.
The serialization format for rsonpath-lib is not stable, as the Automaton
is expected to evolve. Thus, serialization includes a version
and deserialization will fail if the version disagrees.
The format in rsonpath-syntax is expected to be stable, but no guarantees before 1.0.0.
Also added snapshot tests for serialization based on insta.
Added the MainEngine::automaton function to retrieve a reference to the compiled query.
Removed the arbitrary feature from rsonpath-lib as it didn't actually do anything anymore.
Dependencies
serde (1.0.217) is now an optional dependency for rsonpath, rsonpath-lib, and rsonpath-syntax