Skip to content

Commit

Permalink
feat(gadget-blueprint-serde): add std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Nov 1, 2024
1 parent 1d4413f commit c77525c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions blueprint-serde/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ serde_test.workspace = true

[lints]
workspace = true

[features]
default = ["std"]
std = []
2 changes: 1 addition & 1 deletion blueprint-serde/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![no_std]
#![cfg_attr(feature = "std", no_std)]

mod de;
pub mod error;
Expand Down

0 comments on commit c77525c

Please sign in to comment.