Skip to content

chore: Disable default features for rstest - #380

Merged
spencewenski merged 1 commit into
mainfrom
rstest-no-default-features
Sep 27, 2024
Merged

chore: Disable default features for rstest#380
spencewenski merged 1 commit into
mainfrom
rstest-no-default-features

Conversation

@spencewenski

Copy link
Copy Markdown
Member

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.

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`.
@spencewenski
spencewenski merged commit d2288ed into main Sep 27, 2024
@spencewenski
spencewenski deleted the rstest-no-default-features branch September 27, 2024 20:15
@github-actions github-actions Bot mentioned this pull request Oct 5, 2024
spencewenski added a commit that referenced this pull request Oct 5, 2024
## 🤖 New release
* `roadster`: 0.6.3 -> 0.6.4 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.6.4](roadster-v0.6.3...roadster-v0.6.4)
- 2024-10-05

### Other

- Update dependencies
([#386](#386))
- Add `init` command to justfile
([#383](#383))
- Disable default features for `rstest`
([#380](#380))
- Use mold linker in CI
([#379](#379))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Spencer Ferris <3319370+spencewenski@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant