1
2---
3 src/lib.rs | 4 ++++
4 1 file changed, 4 insertions(+)
5
6diff --git b/src/lib.rs a/src/lib.rs
7index 33ceef8e..53730d4c 100644
8--- b/src/lib.rs
9+++ a/src/lib.rs
10@@ -70,6 +70,10 @@
11 //! [PKCS#5v2 Password Based Encryption Scheme 2 (RFC 8018)]: https://tools.ietf.org/html/rfc8018#section-6.2
12 //! [scrypt]: https://en.wikipedia.org/wiki/Scrypt
13
14+/// Local Android change: Use std to allow building as a dylib.
15+#[cfg(android_dylib)]
16+extern crate std;
17+
18 #[cfg(feature = "pem")]
19 extern crate alloc;
20 #[cfg(feature = "std")]
21