.PHONY: check check-* test test-* cli-* check: check-default check-mixed check-secp256k1 check-k256 # Checks the source code with default features enabled. check-default: cargo clippy # Checks the source code with all features enabled. check-mixed: cargo clippy --all-features cargo clippy --all-features --tests # Checks the source code with variations of libsecp256k1 feature sets. check-secp256k1: cargo clippy --no-default-features --features secp256k1 cargo clippy --no-default-features --features secp256k1,serde cargo clippy --no-default-features --features secp256k1,serde,rand cargo clippy --no-default-features --features secp256k1,serde,rand,secp256k1-invert,num-traits cargo clippy --no-default-features --features secp256k1,serde,rand,secp256k1-invert,num-traits --tests # Checks the source code with variations of pure-rust feature sets. check-k256: cargo clippy --no-default-features --features k256 cargo clippy --no-default-features --features k256,serde cargo clippy --no-default-features --features k256,serde,rand,num-traits cargo clippy --no-default-features --features k256,serde,rand,num-traits --tests test: test-default test-mixed test-secp256k1 test-k256 test-default: cargo test test-mixed: cargo test --all-features test-secp256k1: cargo test --no-default-features --features secp256k1,serde,rand,secp256k1-invert,num-traits test-k256: cargo test --no-default-features --features k256,serde,rand,num-traits cli: cli-release cli-debug: cargo build --no-default-features --features secp256k1,secp256k1-invert,cli-rng cli-release: cargo build --release --no-default-features --features secp256k1,secp256k1-invert,cli-rng .PHONY: docwatch docwatch: watch -n 5 cargo doc --all-features