package cstruct

All checked builds pass
  1. Overview
  2. No Docs
Access C-like structures directly from OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cstruct-6.3.0.tbz
sha256=956b249ddfb55fd23584c1767af28f6487033d364888217a14275d898ebd7754
sha512=71a503c7017f2d143ec8af2b8f132d1f59a0526ee4602b9a3e307e904bc18867755f87f445e4a49d995c7ca0002adfc2e3dae2f5fa6e22fb71fe85db774dede1

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.

Tags

org:mirage org:ocamllabs

Added to opam-repository:

Dependencies (3)

  1. fmt >= "0.8.9"
  2. dune >= "3.17"
  3. ocaml >= "4.08.0"

Dev Dependencies (2)

  1. crowbar with-test & >= "0.2"
  2. alcotest with-test

Optional Dependencies

None

  1. a2a-client
  2. albatross >= "1.4.3" & < "2.3.0"
  3. arp
  4. asn1-combinators = "0.2.6"
  5. async_unix >= "v0.17.0"
  6. awa < "0.6.0"
  7. awa-mirage
  8. bin >= "0.1.0"
  9. bip32
  10. builder < "0.4.0"
  11. builder-web < "0.2.0"
  12. capnp-rpc-net
  13. capnp-rpc-unix >= "2.1"
  14. carton >= "0.4.3" & < "1.0.0"
  15. carton-git
  16. carton-lwt < "1.0.0"
  17. certify < "0.3.3"
  18. chamelon
  19. charrua
  20. charrua-client
  21. charrua-server
  22. coap
  23. coap-core
  24. coap-server-lwt
  25. cohttp-mirage
  26. colombe < "0.2.0"
  27. conduit-mirage
  28. conex < "0.10.0"
  29. conex-mirage-crypto < "1.0.0"
  30. console-eio
  31. cowabloga
  32. crc
  33. cstruct-async >= "6.3.0"
  34. cstruct-lwt >= "6.3.0"
  35. cstruct-sexp >= "6.3.0"
  36. cstruct-unix >= "6.3.0"
  37. current-albatross-deployer
  38. current_git >= "0.6.2"
  39. current_github
  40. current_web
  41. dbase4 < "0.2.0"
  42. depyt
  43. dns >= "6.3.0" & < "9.1.0"
  44. dns-cli < "9.1.0"
  45. dns-client < "7.0.3"
  46. dns-forward
  47. dns-mirage
  48. dns-server
  49. dns-stub
  50. dns-tsig < "9.1.0"
  51. dnssd
  52. dnssec < "9.1.0"
  53. dream
  54. eio
  55. eio-chaos
  56. eio-fs
  57. eio-net
  58. eqaf >= "0.8" & < "0.10"
  59. eqaf-cstruct
  60. ethernet
  61. fat-filesystem = "0.13.0" | >= "0.15.0"
  62. frenetic
  63. geojsone >= "0.2.0"
  64. git < "3.6.0" | >= "3.15.0"
  65. git-cohttp
  66. git-cohttp-unix
  67. git-kv >= "0.2.0"
  68. git-mirage
  69. git-unix >= "3.2.0"
  70. github-hooks
  71. gluten-mirage < "0.5.2"
  72. gpt
  73. granary
  74. h2-mirage
  75. hacl-star >= "0.7.0"
  76. hex >= "1.4.0"
  77. hkdf
  78. http-multipart-formdata >= "3.1.0"
  79. httpun-mirage
  80. httpun-ws-mirage
  81. hvsock
  82. intel_hex < "0.4"
  83. io-page
  84. io-page-unix
  85. ipaddr-cstruct
  86. irmin-git
  87. irmin-indexeddb
  88. jose < "0.10.0"
  89. k7
  90. kafka-eio
  91. key-parsers >= "1.2.1"
  92. launchd
  93. learn-ocaml-client
  94. ledgerwallet >= "0.2.1"
  95. letsencrypt < "1.0.0"
  96. letsencrypt-app < "1.0.0"
  97. lt-code
  98. macaddr-cstruct
  99. mbr-format
  100. memtrace_viewer < "v0.15.0"
  101. miaou-serve
  102. mimic >= "0.0.4"
  103. mirage-block >= "2.0.1"
  104. mirage-block-ccm
  105. mirage-block-combinators >= "3.0.2"
  106. mirage-block-ramdisk
  107. mirage-block-solo5
  108. mirage-block-unikraft
  109. mirage-block-unix != "2.12.1"
  110. mirage-block-xen
  111. mirage-btrees
  112. mirage-channel >= "4.1.0"
  113. mirage-channel-lwt
  114. mirage-conduit
  115. mirage-console-lwt
  116. mirage-crypto >= "0.10.7" & < "1.1.0"
  117. mirage-crypto-ec < "1.1.0"
  118. mirage-crypto-pk < "1.1.0"
  119. mirage-crypto-rng < "1.1.0"
  120. mirage-crypto-rng-eio
  121. mirage-crypto-rng-mirage < "1.1.0"
  122. mirage-flow >= "3.0.0"
  123. mirage-flow-combinators
  124. mirage-flow-unix
  125. mirage-fs >= "4.0.0"
  126. mirage-fs-lwt
  127. mirage-kv-lwt
  128. mirage-kv-unix
  129. mirage-nat
  130. mirage-net >= "4.0.0"
  131. mirage-net-lwt
  132. mirage-net-macosx
  133. mirage-net-solo5
  134. mirage-net-unikraft
  135. mirage-net-unix
  136. mirage-net-xen
  137. mirage-profile
  138. mirage-protocols >= "7.0.0"
  139. mirage-protocols-lwt
  140. mirage-qubes
  141. mirage-random
  142. mirage-solo5 < "0.10.0"
  143. mirage-stack-lwt
  144. mirage-tc
  145. mirage-types-lwt
  146. mirage-vnetif
  147. mirage-xen
  148. mnet-dhcp
  149. monorobot
  150. multihash
  151. nbd >= "4.0.3"
  152. neodriver_eio
  153. ohttp-cohttp-eio
  154. oneffs
  155. otr < "1.0.0"
  156. oxbow
  157. paf
  158. pbkdf
  159. pcap-format >= "0.5.2"
  160. pf-qubes
  161. plebeia
  162. plist-xml >= "0.4.0" & < "0.5.1"
  163. ppx_cstruct >= "6.3.0"
  164. protocol-9p >= "2.0.2"
  165. protocol-9p-tool = "2.0.2"
  166. protocol-9p-unix = "0.11.3" | >= "2.0.2"
  167. proton
  168. qcow
  169. qcow-tool
  170. qcow-types
  171. randomconv < "0.2.0"
  172. rawlink >= "1.2"
  173. reparse >= "3.0.0"
  174. reparse-lwt
  175. reparse-lwt-unix
  176. rfc6287 < "1.0.4"
  177. rio
  178. riot = "0.0.7"
  179. salsa20 != "1.1.0"
  180. salsa20-core = "1.1.0"
  181. scrypt-kdf
  182. secp256k1-internal >= "0.3.1"
  183. sendmail >= "0.5.0"
  184. shared-block-ring
  185. shared-memory-ring
  186. shared-memory-ring-lwt
  187. sihl >= "3.0.0"
  188. slack
  189. solo5-elftool < "0.4.0"
  190. spoke >= "0.0.4"
  191. ssh-agent != "0.3.0" & < "0.5.0"
  192. swapfs
  193. tar < "3.3.0"
  194. tar-mirage
  195. tar-unix < "3.3.0"
  196. tcpip >= "7.1.2"
  197. tls >= "0.12.8" & < "1.0.4"
  198. tls-liquidsoap
  199. uecc
  200. uring
  201. utcp
  202. valkey
  203. vchan
  204. vchan-unix
  205. vchan-xen
  206. verdict
  207. vhd-format >= "0.12.0" & < "0.12.2" | >= "0.13.0"
  208. vhd-format-lwt >= "0.13.0"
  209. vmnet
  210. wayland >= "1.0"
  211. webauthn < "0.2.0"
  212. wol
  213. x509 >= "0.14.1" & < "1.0.6"
  214. xen-gnt
  215. yocaml_git >= "2.0.0"

Conflicts (1)

  1. js_of_ocaml < "3.5.0"

Build status

Results of building cstruct with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
6.3.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure