mirror of
https://github.com/loro-dev/loro.git
synced 2024-11-25 04:38:58 +00:00
82b5f8dc90
* perf: remove unused transact field * perf: micro optimization * bench: fix bench * bench: add utf16 bench * chore: refine diagnose * perf: speedup utf16 lookup * perf: use better utf16 len counter * refactor: use js to cast Loro/Transaction * refactor: map and list use __loro and __txn * test: configure ci vitest * chore: ci
14 lines
721 B
Text
14 lines
721 B
Text
{
|
|
"tasks": {
|
|
"build": "cargo build",
|
|
// to debug a single test use
|
|
// RUST_BACKTRACE=full DEBUG=* cargo test --package loro-internal --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-wasm": "cd crates/loro-wasm && deno task dev && cd ../../loro-js && pnpm i && pnpm run test",
|
|
"check": "cargo clippy --all-features",
|
|
"quick-fuzz": "cd crates/loro-internal && deno task quick-fuzz",
|
|
"fix": "cargo clippy --fix --features=test_utils",
|
|
"vet": "cargo vet"
|
|
}
|
|
}
|