summaryrefslogtreecommitdiffstats
path: root/mqtt-format/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mqtt-format/src/lib.rs')
-rw-r--r--mqtt-format/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mqtt-format/src/lib.rs b/mqtt-format/src/lib.rs
index db654df..bed8140 100644
--- a/mqtt-format/src/lib.rs
+++ b/mqtt-format/src/lib.rs
@@ -3,7 +3,7 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
-
+#![cfg_attr(all(feature = "mqttv5", not(feature = "mqttv3"), not(test)), no_std)]
#![deny(clippy::disallowed_methods)]
#![deny(clippy::disallowed_types)]