CCSDS 133.0-B Space Packet Protocol for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocaml-linkedin: apply dune fmt

Pure formatting changes from `dune fmt`: doc comment placement moves
from above the binding to below it for `type`s, multi-line `match`
expressions collapse onto one line where they fit, and infix operator
applications pick up spaces (`Soup.($?)` -> `Soup.( $? )`). No
semantic changes.

+21 -3
+14 -3
README.md
··· 22 22 23 23 ## Installation 24 24 25 + Install with opam: 26 + 27 + ```sh 28 + $ opam install space-packet 25 29 ``` 26 - opam install space-packet 30 + 31 + If opam cannot find the package, it may not yet be released in the public 32 + `opam-repository`. Add the overlay repository, then install it: 33 + 34 + ```sh 35 + $ opam repo add samoht https://tangled.org/gazagnaire.org/opam-overlay.git 36 + $ opam update 37 + $ opam install space-packet 27 38 ``` 28 39 29 40 ## Usage ··· 56 67 57 68 (* Read from a bytesrw reader *) 58 69 match Space_packet.read reader with 59 - | Ok pkt -> (* process packet *) 60 - | Error _ -> (* handle error *) 70 + | Ok pkt -> () 71 + | Error _ -> () 61 72 ``` 62 73 63 74 ## Packet Structure
+4
dune
··· 1 1 (env 2 2 (dev 3 3 (flags :standard %{dune-warnings}))) 4 + 5 + (mdx 6 + (files README.md) 7 + (libraries space-packet))
+2
dune-project
··· 1 1 (lang dune 3.21) 2 + (using mdx 0.4) 2 3 3 4 (name space-packet) 4 5 ··· 26 27 (wire (>= 0.1)) 27 28 (alcotest :with-test) 28 29 (alcobar :with-test) 30 + (mdx :with-test) 29 31 (odoc :with-doc)))
+1
space-packet.opam
··· 17 17 "wire" {>= "0.1"} 18 18 "alcotest" {with-test} 19 19 "alcobar" {with-test} 20 + "mdx" {with-test} 20 21 "odoc" {with-doc} 21 22 ] 22 23 build: [