Skip to content

Commit

Permalink
Add serde serialization to fj
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Priestley authored and hannobraun committed May 20, 2022
1 parent 3e4a107 commit 34f5e89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/fj/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub use self::{shape_2d::*, shape_3d::*};

/// A shape
#[derive(Clone, Debug)]
#[cfg_attr(feature = "serialization", derive(Serialize, Deserialize))]
#[repr(C)]
pub enum Shape {
/// A 2D shape
Expand Down

0 comments on commit 34f5e89

Please sign in to comment.