Skip to content

Commit

Permalink
Cargo.toml: introduce a virtual workspace
Browse files Browse the repository at this point in the history
This allows IDE Rust integration to work when the root of the repository
is opened. Prior to this change, a developer would have to open
cargo-insta to get code completion for that crate.

This also causes `make lint` to run clippy over cargo-insta.
  • Loading branch information
tamird committed Oct 7, 2023
1 parent ef00fb6 commit 3d2be4e
Show file tree
Hide file tree
Showing 119 changed files with 330 additions and 83 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
with:
toolchain: 1.51.0
- name: Check
run: cargo check --no-default-features
run: cargo check -p insta --no-default-features
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
target
**/*.rs.bk
/Cargo.lock
.vscode/*.log
234 changes: 233 additions & 1 deletion cargo-insta/Cargo.lock → Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d2be4e

Please sign in to comment.