Skip to content

Commit

Permalink
Fix missing feature flag (#502)
Browse files Browse the repository at this point in the history
# Objective

While depending on Avian's `main` branch, running `cargo doc --all-features` fails on my crate when including a serialize feature

## Solution

Fix bitflags not being serializable when serializing. Ideally, the CI should catch this.
  • Loading branch information
janhohenheim authored Aug 28, 2024
1 parent 63580d3 commit f1a98d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/avian2d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ serialize = [
"bevy/serialize",
"parry2d?/serde-serialize",
"parry2d-f64?/serde-serialize",
"bitflags/serde",
]

[lib]
Expand Down
1 change: 1 addition & 0 deletions crates/avian3d/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ serialize = [
"bevy/serialize",
"parry3d?/serde-serialize",
"parry3d-f64?/serde-serialize",
"bitflags/serde",
]

[lib]
Expand Down

0 comments on commit f1a98d9

Please sign in to comment.