loro/crates/loro-common
东灯 86c760abd0
feat: add insert_utf8 and delete_utf8 for Rust Text API (#396)
* feat: add insert_utf8

* chore: merge insert functions

* fix: use utf8_to_unicode_index to reslove index

* fix: add bound-check and use unicode PosType

* feat: add delete_utf8

* perf: O(LogN) insert_utf8

* feat: add utf-16 cross unicode check

* perf: O(LogN) delete_utf8

* chore: add api

* chore: remove unused function

* fix: api name and bindgen name

* test: add utf8 js test

---------

Co-authored-by: Zixuan Chen <remch183@outlook.com>
2024-07-10 10:20:08 +08:00
..
src feat: add insert_utf8 and delete_utf8 for Rust Text API (#396) 2024-07-10 10:20:08 +08:00
Cargo.toml feat: Stable JSON representation for history (#368) 2024-06-07 13:18:30 +08:00
LICENSE chore: publish mvp rust api 2023-11-28 21:29:11 +08:00
README.md

loro-common

This crate contains the common basic types for the Loro project. It's shared by loro-internal and loro-preload.