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

feat: added "serde" feature flag for bones_ecs #438

Merged
merged 3 commits into from
Aug 16, 2024

Conversation

defic
Copy link
Contributor

@defic defic commented Aug 14, 2024

There were existing of #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] lines already (f.e. on Entity struct), but serde feature flag itself was missing from bones_ecs.

Also added cfg_attr(feature = "serde") ... line to Entities and BitSetVec so Entities struct can be serialized.

@MaxCWhitehead MaxCWhitehead added this pull request to the merge queue Aug 16, 2024
Merged via the queue into fishfolk:main with commit 8fba451 Aug 16, 2024
10 checks passed
RockasMockas pushed a commit to RockasMockas/bones that referenced this pull request Sep 9, 2024
There were existing of `#[cfg_attr(feature = "serde",
derive(serde::Serialize, serde::Deserialize))]` lines already (f.e. on
Entity struct), but serde feature flag itself was missing from
bones_ecs.

Also added `cfg_attr(feature = "serde") ...` line to Entities and
BitSetVec so Entities struct can be serialized.
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