~novakane/zgrapheme

Small zig library for grapheme segmentation
Update to zig 0.13
build: Fix no module error
Update to zig 0.12; Support package manager

clone

read-only
https://git.sr.ht/~novakane/zgrapheme
read/write
git@git.sr.ht:~novakane/zgrapheme

You can also use your local clone with git send-email.

#zgrapheme

Small zig 0.13 library for grapheme segmentation. Compliant with unicode 15.0.0 specifictaion.

#Usage

Add this to your build.zig:

const zgrapheme = b.createModule(.{
    .source_file = b.path("zgrapheme.zig"),
});
exe.root_module.addImport("zgrapheme", zgrapheme_mod);

You can then import it like so:

const zgrapheme = @import("zgrapheme");

See example/ for some code use cases.

#Contributing

See CONTRIBUTING.md

#License

zgrapheme is licensed under the Mozilla Public License 2.0

Unicode data is licensed under UNICODE, INC. LICENSE AGREEMENT