sybila / biodivine-lib-bdd

A small library for BDD manipulation in Rust. Part of the BioDivine toolset.
MIT License
20 stars 4 forks source link

support `serde` serialize/deserialize for `BooleanExpression` & `Bdd` #54

Closed zao111222333 closed 6 months ago

zao111222333 commented 6 months ago

This pull request mainly modifies two parts:

Then we can use follow setting to turn on serde serialize/deserialize.

biodivine-lib-bdd = {version="0.5" , features = ["serde"]}
codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.57%. Comparing base (249c905) to head (f8ad672).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #54 +/- ## ========================================== - Coverage 90.57% 90.57% -0.01% ========================================== Files 26 25 -1 Lines 2059 2058 -1 ========================================== - Hits 1865 1864 -1 Misses 194 194 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

daemontus commented 6 months ago

Good idea. I'll add this to BddVariableSet (so that one can serialize the "context" of the BDD as well) and release it as a new minor version.

daemontus commented 6 months ago

This should not be online as version 0.5.17. Thank you for the update!