Skip to content

Commit 711a336

Browse files
committed
Disable no_std when the std feature is present
1 parent 87794c2 commit 711a336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
#![deny(rust_2018_compatibility)]
6767
#![deny(rust_2018_idioms)]
6868
#![deny(warnings)]
69-
#![no_std]
69+
#![cfg_attr(not(feature = "std"), no_std)]
7070

7171
pub mod de;
7272
pub mod ser;

0 commit comments

Comments
 (0)