mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 13:39:12 +00:00
594b60dafb
* refactor: make internal and leaf use same type of cache * refactor: add cache update * test : add normalization to arb test * test: fuzz * fix: internal insert bug * fix: missing utf16 * test: fix test sub overflow * feat: use heapless for binary heap * refactor: refine warning * test: reduce test time * perf: reduce computation when finding pos * bench: fix ignore parse time in benching * feat: make it compile in new sig (should be merged) * fix: type err * fix: fix type err * fix: cache when merge & borrow * refactor: simplify code * fix: cumulated tree trait bug * fix: a few fatal bugs (still buggy) * fix: global tree trait * refactor: rm an unused fn * fix: insert at cursor bug * fix: in cursor insert cache may be invalid strip the checker there * chore: remove needless check * refactor: add inline to methods * test: remove cfg=mem for mem example * fix: type err
15 lines
773 B
Text
15 lines
773 B
Text
{
|
|
"tasks": {
|
|
"build": "cargo build",
|
|
// to debug a single test use
|
|
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-core --lib --features test_utils --features wasm -- fuzz::recursive::failed_tests::unknown --exact --nocapture &> debug.log
|
|
"test": "RUST_BACKTRACE=full cargo nextest run --features=test_utils",
|
|
"test-all": "deno task test & deno task quick-fuzz & deno task test-wasm",
|
|
"test-prop": "RUSTFLAGS='--cfg=proptest' cargo nextest run --features=test_utils",
|
|
"test-wasm": "cd crates/loro-wasm && deno task build && deno task test",
|
|
"check": "cargo clippy --all-features",
|
|
"quick-fuzz": "cd crates/loro-core && deno task quick-fuzz",
|
|
"fix": "cargo clippy --fix --features=test_utils",
|
|
"vet": "cargo vet"
|
|
}
|
|
}
|