···1122-- `uuidtrip` support for `cmdliner` 2.0 and handle 1.1.0 deprecations.
22+- Require OCaml >= 4.08.
33+- `uuidtrip` handle `cmdliner` deprecations.
3445v1.0.3 2022-02-03
56-----------------
+6
DEVEL.md
···11+This project uses (perhaps the development version of) [`b0`] for
22+development. Consult [b0 occasionally] for quick hints on how to
33+perform common development tasks.
44+55+[`b0`]: https://erratique.ch/software/b0
66+[b0 occasionally]: https://erratique.ch/software/b0/doc/occasionally.html
+19-25
README.md
···11Uutf — Non-blocking streaming Unicode codec for OCaml
22--------------------------------------------------------------------------------
33-%%VERSION%%
22+=====================================================
33+44+**Warning.** You are encouraged not to use this library.
55+66+- As of OCaml 4.14, both UTF encoding and decoding are available
77+ in the standard library, see the `String` and `Buffer` modules.
88+- If you are looking for a stream abstraction compatible with
99+ effect based concurrency look into [`bytesrw`] package.
1010+1111+---
412513Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
614UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently
···9171018Functions are also provided to fold over the characters of UTF encoded
1119OCaml string values and to directly encode characters in OCaml
1212-Buffer.t values. **Note** that since OCaml 4.14, that functionality
1313-can be found in the Stdlib and you are encouraged to migrate to it.
2020+Buffer.t values.
14211522Uutf has no dependency and is distributed under the ISC license.
16231717-Home page: http://erratique.ch/software/uutf
1818-Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`
2424+Home page: <http://erratique.ch/software/uutf>
2525+2626+[`bytesrw`]: https://erratique.ch/software/bytesrw
192720282129## Installation
···2735If you don't use `opam` consult the [`opam`](opam) file for build
2836instructions.
29373030-3138## Documentation
32393333-The documentation and API reference is automatically generated by from
3434-the source interfaces. It can be consulted [online][doc] or via
3535-`odig doc uutf`.
3636-3737-[doc]: http://erratique.ch/software/uutf/doc/
3838-3939-4040-## Sample programs
4141-4242-Sample programs are located in the `test` directory of the
4343-distribution. They can be built and run with:
4444-4545- topkg build --test true && topkg test
4040+The documentation can be consulted [online] or via `odig doc uutf`.
46414747-The resulting binaries are in `_build/test` :
4242+Questions are welcome but better asked on the [OCaml forum] than on the
4343+issue tracker.
48444949-- `test.native` tests the library, nothing should fail.
5050-- `utftrip.native`, among other things, reads unicode on `stdin` and rewrites
5151- it on `stdout`. Invoke with `--help` for more information. Depends
5252- on [Cmdliner](http://erratique.ch/software/cmdliner).
4545+[online]: http://erratique.ch/software/uutf/doc/
4646+[OCaml forum]: https://discuss.ocaml.org/
-3
_tags
···11true : bin_annot, safe_string
22-32<_b0> : -traverse
43<src> : include
55-<test> : include
64<test/utftrip.*> : package(unix), package(cmdliner)
77-<test/examples.*> : package(unix)
+11-3
doc/index.mld
···11{0 Uutf {%html: <span class="version">%%VERSION%%</span>%}}
2233+{b Warning.} You are encouraged not to use this library.
44+55+{ul
66+{- As of OCaml 4.14, both UTF encoding and decoding are available
77+ in the standard library, see the {!String} and {!Buffer} modules.}
88+{- If you are looking for a stream abstraction compatible with
99+ effect based concurrency look into the
1010+ {{:https://erratique.ch/software/bytesrw}bytesrw} package.}}
1111+312Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
413UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently
514work character by character without blocking on IO. Decoders perform
···716817Functions are also provided to fold over the characters of UTF encoded
918OCaml string values and to directly encode characters in OCaml
1010-{!Buffer.t} values. {b Note} that since OCaml 4.14, that functionality
1111-can be found in the Stdlib and you are encouraged to migrate to it.
1919+{!Buffer.t} values.
12201313-{1:api API}
2121+{1:library_uutf Library [uutf]}
14221523{!modules:
1624Uutf
+32-28
opam
···11opam-version: "2.0"
22name: "uutf"
33-synopsis: """Non-blocking streaming Unicode codec for OCaml"""
44-maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
55-authors: ["The uutf programmers"]
33+synopsis: "Non-blocking streaming Unicode codec for OCaml"
44+description: """\
55+**Warning.** You are encouraged not to use this library.
66+77+- As of OCaml 4.14, both UTF encoding and decoding are available
88+ in the standard library, see the `String` and `Buffer` modules.
99+- If you are looking for a stream abstraction compatible with
1010+ effect based concurrency look into [`bytesrw`] package."""
1111+maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
1212+authors: "The uutf programmers"
1313+license: "ISC"
1414+tags: ["unicode" "text" "utf-8" "utf-16" "codec" "org:erratique"]
615homepage: "https://erratique.ch/software/uutf"
716doc: "https://erratique.ch/software/uutf/doc/"
88-dev-repo: "git+https://erratique.ch/repos/uutf.git"
917bug-reports: "https://github.com/dbuenzli/uutf/issues"
1010-license: ["ISC"]
1111-tags: ["unicode" "text" "utf-8" "utf-16" "codec" "org:erratique"]
1212-depends: ["ocaml" {>= "4.03.0"}
1313- "ocamlfind" {build}
1414- "ocamlbuild" {build}
1515- "topkg" {build & >= "1.0.3"}]
1818+depends: [
1919+ "ocaml" {>= "4.08.0"}
2020+ "ocamlfind" {build}
2121+ "ocamlbuild" {build}
2222+ "topkg" {build & >= "1.0.3"}
2323+]
1624depopts: ["cmdliner"]
1717-conflicts: ["cmdliner" {< "1.1.0"}]
1818-build: [["ocaml" "pkg/pkg.ml" "build" "--dev-pkg" "%{dev}%"
1919- "--with-cmdliner" "%{cmdliner:installed}%"]]
2020-description: """
2121-Uutf is a non-blocking streaming codec to decode and encode the UTF-8,
2222-UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently
2323-work character by character without blocking on IO. Decoders perform
2424-character position tracking and support newline normalization.
2525-2626-Functions are also provided to fold over the characters of UTF encoded
2727-OCaml string values and to directly encode characters in OCaml
2828-Buffer.t values. **Note** that since OCaml 4.14, that functionality
2929-can be found in the Stdlib and you are encouraged to migrate to it.
3030-3131-Uutf has no dependency and is distributed under the ISC license.
3232-3333-Home page: http://erratique.ch/software/uutf
3434-Contact: Daniel Bünzli `<daniel.buenzl i@erratique.ch>`"""
2525+conflicts: [
2626+ "cmdliner" {< "1.3.0"}
2727+]
2828+build: [
2929+ "ocaml"
3030+ "pkg/pkg.ml"
3131+ "build"
3232+ "--dev-pkg"
3333+ "%{dev}%"
3434+ "--with-cmdliner"
3535+ "%{cmdliner:installed}%"
3636+]
3737+dev-repo: "git+https://erratique.ch/repos/uutf.git"
3838+x-maintenance-intent: ["(latest)"]