watchexec_cli/filterer/proglib.rs
1use jaq_core::{Compiler, Native};
2
3mod file;
4mod hash;
5mod kv;
6mod macros;
7mod output;
8
9pub fn jaq_lib<'s>() -> Compiler<&'s str, Native<jaq_json::Val>> {
10 Compiler::<_, Native<_>>::default().with_funs(
11 jaq_std::funs()
12 .chain(jaq_json::funs())
13 .chain(file::funs())
14 .chain(hash::funs())
15 .chain(kv::funs())
16 .chain(output::funs()),
17 )
18}