XDG library path support for OCaml via Eio capabilities
linux macos ocaml xdg

Remove dependency on `eio_main` for library

Thanks to @Alizter for the workaround in https://github.com/ocaml/dune/issues/12821

Changed files
+14 -6
test
+8 -2
CHANGES.md
···
-
v1.0.0
-
------
+
v1.1.0 (dev)
+
------------
+
+
- Remove dependency on `eio_main` for library (@avsm).
+
Thanks to @Alizter for the workaround in https://github.com/ocaml/dune/issues/12821).
+
+
v1.0.0 (2025-11-29)
+
-------------------
- Initial public release (@avsm)
+4
dune
···
+
(alias
+
(name default)
+
(deps
+
(alias_rec lib/all)))
+1 -1
dune-project
···
(cmdliner (>= 1.2.0))
(fmt (>= 0.11.0))
xdg
-
eio_main ; until https://github.com/ocaml/dune/issues/12821 fixed
+
(eio_main :with-test)
(odoc :with-doc)
(alcotest (and :with-test (>= 1.7.0)))))
-2
test/dune
···
(executable
(name xdg_example)
-
(optional)
(libraries xdge eio_main cmdliner fmt))
(executable
(name test_paths)
-
(optional)
(libraries xdge eio eio_main))
(cram
+1 -1
xdge.opam
···
"cmdliner" {>= "1.2.0"}
"fmt" {>= "0.11.0"}
"xdg"
-
"eio_main"
+
"eio_main" {with-test}
"odoc" {with-doc}
"alcotest" {with-test & >= "1.7.0"}
]