loro/crates/loro-core/justfile
2022-11-14 10:49:42 +08:00

31 lines
687 B
Makefile

build:
cargo build
test:
cargo nextest run
check-unsafe:
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
deny:
cargo deny check
crev:
cargo crev crate check
fuzz-long TARGET:
cargo fuzz run {{TARGET}} -- -max_total_time=300 -max_len=4000 -jobs=2
quick-fuzz:
cargo fuzz run yata -- -max_total_time=10 -max_len=1000 &
cargo fuzz run text -- -max_total_time=10 -max_len=1000 &
cargo fuzz run recursive -- -max_total_time=10 -max_len=1000
flame:
cargo flamegraph --example text_sync --features=test_utils --root
bench *FLAGS:
cargo bench --features test_utils {{FLAGS}}
mem:
RUSTFLAGS="--cfg=mem" cargo run --example mem -r --features=test_utils