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 (jsonm :with-test)
29 (alcotest :with-test)))
30
31(package
32 (name yamlrw-unix)
33 (synopsis "Unix I/O for Yamlrw")
34 (description "\
35Unix file and channel operations for Yamlrw. \
36Provides convenient functions for reading and writing YAML files using Unix I/O.")
37 (depends
38 (ocaml (>= 4.14.0))
39 yamlrw
40 bytesrw
41 (odoc :with-doc)))
42
43(package
44 (name yamlrw-eio)
45 (synopsis "Eio support for Yamlrw")
46 (description "\
47Eio-based streaming I/O for Yamlrw. \
48Provides efficient async YAML parsing and emission using the Eio effects-based concurrency library. \
49Requires OCaml 5.0 or later.")
50 (depends
51 (ocaml (>= 5.0.0))
52 yamlrw
53 bytesrw-eio
54 (eio (>= 1.1))
55 (eio_main :with-test)
56 (odoc :with-doc)))