--- | |
src/lib.rs | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git b/src/lib.rs a/src/lib.rs | |
index 1d1eed59..5ee10f3e 100644 | |
--- b/src/lib.rs | |
+++ a/src/lib.rs | |
@@ -100,6 +100,10 @@ | |
#![deny(rustdoc::broken_intra_doc_links)] | |
extern crate alloc; | |
+/// Use std to allow building as a dylib. | |
+#[cfg(android_dylib)] | |
+extern crate std; | |
+ | |
/// Re-export of the `ciborium` crate used for underlying CBOR encoding. | |
pub use ciborium as cbor; | |