Update readme
This commit is contained in:
parent
8432058052
commit
3fba9fea76
@ -340,6 +340,7 @@ The implementation expects a [serde `string`](https://serde.rs/data-model.html)
|
|||||||
Example parsing with [ron format](docs.rs/ron):
|
Example parsing with [ron format](docs.rs/ron):
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
|
# #[cfg(feature = "serde_support")] {
|
||||||
extern crate ron;
|
extern crate ron;
|
||||||
use evalexpr::*;
|
use evalexpr::*;
|
||||||
|
|
||||||
@ -354,6 +355,7 @@ match ron::de::from_str::<Node>(serialized_free) {
|
|||||||
() // Handle error
|
() // Handle error
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
# }
|
||||||
```
|
```
|
||||||
|
|
||||||
With `serde`, expressions can be integrated into arbitrarily complex data.
|
With `serde`, expressions can be integrated into arbitrarily complex data.
|
||||||
|
Loading…
Reference in New Issue
Block a user