Skip to content

don't rely on external serde crate#165

Open
JeanMertz wants to merge 1 commit intomoonrepo:masterfrom
JeanMertz:jean/internal-serde
Open

don't rely on external serde crate#165
JeanMertz wants to merge 1 commit intomoonrepo:masterfrom
JeanMertz:jean/internal-serde

Conversation

@JeanMertz
Copy link
Copy Markdown
Contributor

This change ensures that the user doesn't need serde in their list of dependencies. This solution breaks if someone renames the schematic package to something else, but AFAIK there is no good solution to this?

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@milesj
Copy link
Copy Markdown
Contributor

milesj commented Jul 15, 2025

What use case is this solving exactly?

@JeanMertz
Copy link
Copy Markdown
Contributor Author

To be honest, I got an error in a fresh new crate that used the schematic example from the README but didn't include serde as a dependency.

I guess/suspect as the crate grows that dependency might get pulled in, but since the example in the README did not work out of the box I figured I could either make it work without the need to pull in serde manually, or update the example in the README. I did the former.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants