Skip to content

Commit aa176b8

Browse files
Merge pull request #197 from ubnt-intrepid/no-std
remove some impls of `Value` on no-std target
2 parents 19898ca + d21bc3e commit aa176b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2814,6 +2814,7 @@ where
28142814
}
28152815
}
28162816

2817+
#[cfg(feature = "std")]
28172818
impl<'a> Value for std::path::Display<'a> {
28182819
fn serialize(
28192820
&self,
@@ -2825,6 +2826,7 @@ impl<'a> Value for std::path::Display<'a> {
28252826
}
28262827
}
28272828

2829+
#[cfg(feature = "std")]
28282830
impl Value for std::net::SocketAddr {
28292831
fn serialize(
28302832
&self,

0 commit comments

Comments
 (0)