loro/crates/loro-core/justfile

35 lines
686 B
Makefile
Raw Normal View History

2022-07-26 18:24:25 +00:00
build:
cargo build
test:
cargo nextest run
# test without proptest
test-fast:
RUSTFLAGS='--cfg no_proptest' cargo nextest run
check-unsafe:
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
deny:
cargo deny check
crev:
cargo crev crate check
2022-10-13 06:49:58 +00:00
2022-11-01 15:07:30 +00:00
fuzz-long TARGET:
cargo fuzz run {{TARGET}} -- -max_total_time=300 -max_len=4000 -jobs=2
2022-10-13 06:49:58 +00:00
2022-10-21 03:24:22 +00:00
quick-fuzz:
2022-10-22 15:33:25 +00:00
cargo fuzz run yata -- -max_total_time=10 -max_len=1000 &
2022-10-24 17:33:17 +00:00
cargo fuzz run text -- -max_total_time=10 -max_len=1000
2022-10-21 03:24:22 +00:00
2022-10-13 06:49:58 +00:00
flame:
2022-11-09 03:04:58 +00:00
cargo flamegraph --example text_sync --features=fuzzing --root
2022-10-31 11:27:13 +00:00
bench *FLAGS:
cargo bench --features fuzzing {{FLAGS}}
mem:
cargo run --example mem -r --features=fuzzing,mem-prof