diff --git a/.copier-answers.yaml b/.copier-answers.yaml index e93fd4a..c0e3764 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -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 diff --git a/rust/Cargo.toml b/rust/Cargo.toml index fff7df1..419366b 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -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] diff --git a/rust/Makefile b/rust/Makefile index d0d1054..05ec2d8 100644 --- a/rust/Makefile +++ b/rust/Makefile @@ -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 @@ -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