Module biscuit_auth::parser

source ·
Expand description

Datalog text format parsing

all of the parsers are usable with std::convert::TryFrom so they can be used as follows:

use std::convert::TryInto;
use biscuit_auth::builder::Fact;

let f: Fact = "test(\"data\")".try_into().expect("parse error");

All of the methods in BiscuitBuilder and BlockBuilder can take strings as arguments too

Structs

Enums

Functions