Skip to content

Commit dedc527

Browse files
committed
mark crate as no_std
1 parent 65830e3 commit dedc527

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Derive Debug for types where not all fields implement Debug.
77

88
This relies on specialization and thus requires nightly.
99

10+
This crate works with 'no_std'.
11+
1012
#### Non Exhaustive
1113

1214
Requires the `debug_non_exhaustive` feature.

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//!
33
//! This relies on specialization and thus requires nightly.
44
//!
5+
//! This crate works with 'no_std'.
6+
//!
57
//! ### Non Exhaustive
68
//!
79
//! Requires the `debug_non_exhaustive` feature.
@@ -88,6 +90,7 @@
8890
//! assert_eq!(format!("{:?}", Dog::new()), "Dog { legs: 4, eyes: 2, dna: Unknown }");
8991
//! ```
9092
93+
#![no_std]
9194
#![allow(incomplete_features)]
9295
#![feature(specialization)]
9396
#![warn(missing_docs, trivial_casts, rust_2018_idioms)]

0 commit comments

Comments
 (0)