We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b80c1 commit c51f40fCopy full SHA for c51f40f
Cargo.toml
@@ -34,6 +34,10 @@ exclude = [
34
"benches"
35
]
36
37
+[features]
38
+default = ["std"]
39
+std = []
40
+
41
[dependencies]
42
bytes = "1"
43
fnv = "1.0.5"
src/lib.rs
@@ -160,6 +160,11 @@
160
161
#![deny(warnings, missing_docs, missing_debug_implementations)]
162
163
+//#![cfg_attr(not(feature = "std"), no_std)]
164
+#[cfg(not(feature = "std"))]
165
+compile_error!("`std` feature currently required, support for `no_std` may be added later");
166
167
168
#[cfg(test)]
169
#[macro_use]
170
extern crate doc_comment;
0 commit comments