Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: derive serde for test #1923

Closed
wants to merge 2 commits into from
Closed

test: derive serde for test #1923

wants to merge 2 commits into from

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Jan 18, 2025

also derive serde for test

@DaniPopes
Copy link
Member

what is the point of this? I assume that you know that cfg(test) doesn't propagate to dependencies

@mattsse
Copy link
Member Author

mattsse commented Jan 18, 2025

this way we derived serde traits in tests, makes cargo t actually compile

@DaniPopes
Copy link
Member

dont really like doing this at definitions, if a test needs serde then the test should be cfg serde

@mattsse mattsse closed this Jan 18, 2025
@DaniPopes DaniPopes deleted the matt/derive-serde-for-test branch January 18, 2025 10:08
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.

2 participants