simple_predicates-rs

Crates.iosimple_predicates-rs
lib.rssimple_predicates-rs
version0.1.0
sourcesrc
created_at2021-05-01 00:23:34.432237
updated_at2021-05-01 00:23:34.432237
descriptionA simple local configuration management utility
homepagehttps://github.com/skysch/simple_predicates-rs
repositoryhttps://github.com/skysch/simple_predicates-rs
max_upload_size
id391755
size19,073
solarretrace (solarretrace)

documentation

README

simple_predicates -- a library for modelling simple boolean predicates

Basic usage is to implement Eval for your boolean literal type, then construct Exprs using the boolean literals. To evaluate the truth value of the expression, call the eval method, passing in any contextual data required to resolve the predicate.

Installation

Add the following to your Cargo.toml:

[dependencies]
simple_predicates = "0.1"

License

Stall is licenced with the MIT license or the Apache version 2.0 license, at your option.

Commit count: 20

cargo fmt