+1
-1
bin/dune
+1
-1
bin/dune
+1
-1
dune-project
+1
-1
dune-project
···
6
6
7
7
(package
8
8
(name mlgpx)
9
-
(depends ocaml dune xmlm ptime eio ppx_expect alcotest eio_main cmdliner fmt logs)
9
+
(depends ocaml dune xmlm ptime (eio (>= 1.2)) ppx_expect alcotest eio_main cmdliner fmt logs)
10
10
(synopsis "Library and CLI for parsing and generating GPS Exchange (GPX) formats")
11
11
(description
12
12
"mlgpx is a streaming GPX (GPS Exchange Format) library for OCaml. It provides a portable core library using the xmlm streaming XML parser, with a separate Unix layer for file I/O operations. The library supports the complete GPX 1.1 specification including waypoints, routes, tracks, and metadata with strong type safety and validation.")
+14
-1
lib/gpx/dune
+14
-1
lib/gpx/dune
···
2
2
(public_name mlgpx.core)
3
3
(name gpx)
4
4
(libraries xmlm ptime)
5
-
(modules gpx parser writer validate coordinate link extension waypoint metadata route track error doc))
5
+
(modules
6
+
gpx
7
+
parser
8
+
writer
9
+
validate
10
+
coordinate
11
+
link
12
+
extension
13
+
waypoint
14
+
metadata
15
+
route
16
+
track
17
+
error
18
+
doc))
+1
-1
lib/gpx_eio/dune
+1
-1
lib/gpx_eio/dune
+1
-1
lib/gpx_unix/dune
+1
-1
lib/gpx_unix/dune
+2
-1
mlgpx.opam
+2
-1
mlgpx.opam
+1
mlgpx.opam.template
+1
mlgpx.opam.template
···
1
+
dev-repo: "git+https://tangled.sh/@anil.recoil.org/ocaml-gpx"
+5
-2
test/dune
+5
-2
test/dune
···
5
5
(modules test_gpx))
6
6
7
7
;; ppx_expect inline tests
8
+
8
9
(library
9
10
(name test_corpus)
10
11
(libraries gpx)
11
12
(inline_tests)
12
-
(preprocess (pps ppx_expect))
13
+
(preprocess
14
+
(pps ppx_expect))
13
15
(modules test_corpus))
14
16
15
17
;; Alcotest suite for Unix and Eio comparison
18
+
16
19
(executable
17
20
(public_name corpus_test)
18
21
(name test_corpus_unix_eio)
19
22
(libraries gpx gpx_unix gpx_eio alcotest eio_main)
20
23
(optional)
21
-
(modules test_corpus_unix_eio))
24
+
(modules test_corpus_unix_eio))