Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: faa8776
_commit: 7a6513e
_src_path: https://github.com/python-project-templates/base.git
add_c_abi: false
add_docs: true
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Python Project Template Authors <3105306+timkpaine@users.noreply.git
edition = "2021"
license = "Apache-2.0"
readme = "../README.md"
repository = "https://github.com/python-project-templates/python template rust"
repository = "https://github.com/python-project-templates/python-template-rust"
description = "A Rust-Python project template"

[lib]
Expand Down
10 changes: 5 additions & 5 deletions rust/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ requirements: ## install required dev dependencies
develop: requirements ## install required dev dependencies

build: ## build release
cargo build --release --all-features
cargo build --release --workspace --all-features

.PHONY: lint lints fix format
lint: ## run Clippy for linting, rustfmt for autoformat checks
cargo clippy --all-features
cargo clippy --workspace --all-features
cargo fmt --all -- --check
# alias
lints: lint
Expand All @@ -25,19 +25,19 @@ format: fix

.PHONY: check checks
check:
cargo check --all-features
cargo check --workspace --all-features
# alias
checks: check

.PHONY: test tests test-ci tests-ci
test: ## run the tests
cargo llvm-cov nextest --cobertura --output-path coverage.xml
cargo llvm-cov nextest --workspace --cobertura --output-path coverage.xml

# alias
tests: test

coverage:
cargo llvm-cov nextest --lcov --output-path coverage
cargo llvm-cov nextest --workspace --lcov --output-path coverage

.PHONY: dist publish
dist: ## create dist
Expand Down
Loading