OCamlPro / directories

directories is an OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows. The following conventions are used: XDG Base Directory Specification and xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on macOS.
ISC License
34 stars 3 forks source link

Suggestion: remove ctypes dependency #13

Open nojb opened 2 years ago

nojb commented 2 years ago

On Windows, this package depends on Ctypes. A small C binding would be enough to replace its use (only two functions are needed).

In general, it is a pity that this small ligthweight library depends on another library (ctypes) which is several times its size (even if the dependency is only compile-time).