| diff --git a/src/lib.rs b/src/lib.rs | |
| index 4ce9c93..a800c89 100644 | |
| --- a/src/lib.rs | |
| +++ b/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; | |