version: "6.2.0" opam-version: "2.0" maintainer: "anil@recoil.org" authors: ["Anil Madhavapeddy" "Richard Mortier" "Thomas Gazagnaire" "Pierre Chambart" "David Kaloper" "Jeremy Yallop" "David Scott" "Mindy Preston" "Thomas Leonard" "Etienne Millon" ] homepage: "https://github.com/mirage/ocaml-cstruct" license: "ISC" dev-repo: "git+https://github.com/mirage/ocaml-cstruct.git" bug-reports: "https://github.com/mirage/ocaml-cstruct/issues" doc: "https://mirage.github.io/ocaml-cstruct/" tags: [ "org:mirage" "org:ocamllabs" ] build: [ ["dune" "subst"] {dev} ["dune" "build" "-p" name "-j" jobs] ["dune" "runtest" "-p" name "-j" jobs] {with-test} ] depends: [ "ocaml" {>= "4.08.0"} "dune" {>= "2.0.0"} "cstruct" {=version} "ounit" {with-test} "ppxlib" {>= "0.16.0"} "ppx_sexp_conv" {with-test} "sexplib" {>="v0.9.0"} "cstruct-sexp" {with-test} "cppo" {with-test} "cstruct-unix" {with-test & =version} "ocaml-migrate-parsetree" {>= "2.1.0" & with-test} "lwt_ppx" {>= "2.0.2" & with-test} ] synopsis: "Access C-like structures directly from OCaml" description: """ Cstruct is a library and syntax extension to make it easier to access C-like structures directly from OCaml. It supports both reading and writing to these structures, and they are accessed via the `Bigarray` module."""