ppx_blobversion Documentation on ocaml.org

Include a file as a string at compile time

ppx_blob allows you to include a binary blob from a file as a string. Writing [%blob "filename"] will replace the string with the contents of the file at compile time. This allows the inclusion of arbitary, possibly compressed, data, without the need to respect OCaml's lexical conventions.

AuthorJohn Whitington
LicenseUnlicense
Homepagehttps://github.com/johnwhitington/ppx_blob
Issue Trackerhttps://github.com/johnwhitington/ppx_blob/issues/
Documentationhttps://johnwhitington.github.io/ppx_blob/
Maintainercontact@coherentgraphics.co.uk
Dependencies
Source [http] https://github.com/johnwhitington/ppx_blob/releases/download/0.9.0/ppx_blob-0.9.0.tbz
sha256=f115e90a5f1075cedc9d930ab91271f8670ece4dee10dc1147ab39b8afb570e4
sha512=bad11f8ffbec82a04bb5f90e7548a7ad9ac4bf7e9b733815f6c956d7e0002fb258c52783ded847ab09fe3cd60e5eac2901fccaefd4fd4f885f20942d0ef66fea