all: test
test:
@echo "Running tests..."
cargo doc && cargo test
run:
@echo "Running the main function..."
cargo run
export:
@echo "Building python and rust library ..."
cargo build
maturin develop
export_optimized:
@echo "Building python and rust library with heavy optimization ..."
maturin develop --release
publish:
@echo "Updating tests, docs, and exporting to python, and publishing crate"
git add .
git commit -am "publish update" && git push
cargo fmt && cargo doc && cargo test
maturin develop --release
cargo publish