Skip to content

Build serde without default features#129

Merged
cuviper merged 1 commit intoindexmap-rs:masterfrom
cuviper:serde-no_std
Jun 9, 2020
Merged

Build serde without default features#129
cuviper merged 1 commit intoindexmap-rs:masterfrom
cuviper:serde-no_std

Conversation

@cuviper
Copy link
Copy Markdown
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
Copy Markdown
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
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.

serde feature is incompatible with no_std

2 participants