mirror of
https://github.com/loro-dev/loro.git
synced 2024-12-03 21:18:25 +00:00
1e736df133
* refactor: rm legacy code * chore: rm dead code * refactor: mv refactored files outside * refactor: rename files & methods * chore: rm unused deps * fix: compact bytes err * chore: fix ci |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Loro Framework
The layers of loro:
- Loro Framework(this crate): It is agnostic to the op content. Thus intermediary nodes can work on this layer. It can handle apply updates, encode updates, hash and authentication.
- The change content is byte stream in this layer (may be encrypted).
- If it's encrypted, the public key is accessible for the intermediary nodes
- Encoding & Decoding layer(this crate). This layer also handle encryption and decryption
- CRDT Framework(loro-internal crate): It is agnostic to the specific CRDT algorithms. We can register different CRDT algorithm upon it.
- Specific CRDT Algorithm(loro-text, loro-array crate).