Pure OCaml Yaml 1.2 reader and writer using Bytesrw
1(lang dune 3.18)
2(name yamlrw)
3
4(generate_opam_files true)
5
6(using directory-targets 0.1)
7
8(license ISC)
9(authors "Anil Madhavapeddy")
10(homepage "https://tangled.org/@anil.recoil.org/ocaml-yamlrw")
11(maintainers "Anil Madhavapeddy <anil@recoil.org>")
12(bug_reports "https://tangled.org/@anil.recoil.org/ocaml-yamlrw/issues")
13(maintenance_intent "(latest)")
14
15(package
16 (name yamlrw)
17 (synopsis "Pure OCaml YAML 1.2 parser and emitter")
18 (description "\
19Yamlrw is a pure OCaml implementation of YAML 1.2 parsing and emission. \
20It provides both a high-level JSON-compatible interface for simple data interchange \
21and a lower-level streaming API for fine-grained control over parsing and emission. \
22The library works on all OCaml platforms without C dependencies.")
23 (depends
24 (ocaml (>= 4.14.0))
25 bytesrw
26 cmdliner
27 (odoc :with-doc)
28 (alcotest :with-test)))
29
30(package
31 (name yamlrw-unix)
32 (synopsis "Unix I/O for Yamlrw")
33 (description "\
34Unix file and channel operations for Yamlrw. \
35Provides convenient functions for reading and writing YAML files using Unix I/O.")
36 (depends
37 (ocaml (>= 4.14.0))
38 yamlrw
39 bytesrw
40 (odoc :with-doc)))
41
42(package
43 (name yamlrw-eio)
44 (synopsis "Eio support for Yamlrw")
45 (description "\
46Eio-based streaming I/O for Yamlrw. \
47Provides efficient async YAML parsing and emission using the Eio effects-based concurrency library. \
48Requires OCaml 5.0 or later.")
49 (depends
50 (ocaml (>= 5.0.0))
51 yamlrw
52 bytesrw-eio
53 (eio (>= 1.1))
54 (odoc :with-doc)))