Crates.io | simple_predicates-rs |
lib.rs | simple_predicates-rs |
version | 0.1.0 |
source | src |
created_at | 2021-05-01 00:23:34.432237 |
updated_at | 2021-05-01 00:23:34.432237 |
description | A simple local configuration management utility |
homepage | https://github.com/skysch/simple_predicates-rs |
repository | https://github.com/skysch/simple_predicates-rs |
max_upload_size | |
id | 391755 |
size | 19,073 |
simple_predicates
-- a library for modelling simple boolean predicatesBasic usage is to implement Eval
for your boolean literal type, then construct Expr
s 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.
Add the following to your Cargo.toml
:
[dependencies]
simple_predicates = "0.1"
Stall is licenced with the MIT license or the Apache version 2.0 license, at your option.