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

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