1 #![no_std] 2 #![cfg_attr(docsrs, feature(doc_cfg))] 3 #![doc = include_str!("../README.md")] 4 #![doc( 5 html_logo_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg", 6 html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/media/6ee8e381/logo.svg" 7 )] 8 #![forbid(unsafe_code)] 9 #![warn( 10 missing_docs, 11 rust_2018_idioms, 12 unused_lifetimes, 13 unused_qualifications 14 )] 15 16 /// Local Android change: Use std to allow building as a dylib. 17 #[cfg(android_dylib)] 18 extern crate std; 19 20 extern crate alloc; 21 22 #[cfg(feature = "std")] 23 extern crate std; 24 25 #[macro_use] 26 mod macros; 27 28 pub mod anchor; 29 pub mod attr; 30 pub mod certificate; 31 pub mod crl; 32 pub mod ext; 33 pub mod name; 34 pub mod request; 35 pub mod time; 36 37 pub use certificate::{Certificate, PkiPath, TbsCertificate, Version}; 38 pub use der; 39 pub use spki; 40