Skip to content

Commit

Permalink
chore: Disable default features for rstest (#380)
Browse files Browse the repository at this point in the history
For some reason, I'm getting an issue locally where the `rstest_macros`
crate can't be found:

```
error[E0463]: can't find crate for rstest_macros
   --> /home/spencer/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rstest-0.22.0/src/lib.rs:570:9
    |
570 | pub use rstest_macros::fixture;
    |         ^^^^^^^^^^^^^ can't find crate
```

This doesn't occur in CI so I think something is wrong with my dev env.
However, removing the default features from `rstest` seems to resolve
this locally, and we don't need the default features in `roadster`.
  • Loading branch information
spencewenski authored Sep 27, 2024
1 parent 84683f0 commit d2288ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ rusty-sidekiq = { version = "0.10.5", default-features = false }

# Testing
insta = { version = "1.39.0", features = ["toml", "filters"] }
rstest = { version = "0.22.0" }
rstest = { version = "0.22.0", default-features = false }

# Others
# Todo: minimize tokio features included in `roadster`
Expand Down

0 comments on commit d2288ed

Please sign in to comment.