(executable
 (public_name mte)
 (name mte)
 (modules mte)
 (libraries mte))

(library
 (name mte)
 (wrapped false)
 (modules :standard \ mte b32 amount)
 (libraries
  amount
  b32
  ;
  include
  ;
  bin
  angstrom
  zarith ;
  mirage-crypto
  duration
  vif
  fmt
  jsont
  cohttp))

(library ; crockford base32
 (name b32)
 (modules b32)
 (libraries base32))

(library
 (name amount)
 (modules amount)
 (libraries angstrom fmt zarith))

(rule
 (target assets_crunch.ml)
 (deps
  (source_tree assets))
 (action
  (with-stdout-to
   %{null}
   (run ocaml-crunch -m plain assets -o %{target}))))
