Skip to content

Build serde without default features #129

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Jun 8, 2020

We don't actually need any std/alloc features of serde, but our
dev-dependency on serde_test was indirectly turning on its default
features. However, if we isolate that testing to a separate crate in the
workspace, Cargo will compute the enabled features separately. Now we
can actually enable the serde-1 feature in test-nostd too!

Closes #109.

We don't actually need any std/alloc features of `serde`, but our
dev-dependency on `serde_test` was indirectly turning on its default
features. However, if we isolate that testing to a separate crate in the
workspace, Cargo will compute the enabled features separately. Now we
can actually enable the `serde-1` feature in `test-nostd` too!
Copy link
Member

@bluss bluss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that's great!

@cuviper cuviper merged commit a2054dc into indexmap-rs:master Jun 9, 2020
@cuviper cuviper deleted the serde-no_std branch July 23, 2020 21:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

serde feature is incompatible with no_std
2 participants