1 #![no_std]
2 #![cfg_attr(docsrs, feature(doc_auto_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     clippy::mod_module_files,
11     clippy::unwrap_used,
12     missing_docs,
13     rust_2018_idioms,
14     unused_lifetimes,
15     unused_qualifications
16 )]
17 
18 /// Local Android change: Use std to allow building as a dylib.
19 #[cfg(android_dylib)]
20 extern crate std;
21 
22 extern crate alloc;
23 
24 #[cfg(feature = "std")]
25 extern crate std;
26 
27 #[macro_use]
28 mod macros;
29 
30 pub mod anchor;
31 pub mod attr;
32 pub mod certificate;
33 pub mod crl;
34 pub mod ext;
35 pub mod name;
36 pub mod request;
37 pub mod serial_number;
38 pub mod time;
39 
40 #[cfg(feature = "builder")]
41 pub mod builder;
42 
43 pub use certificate::{Certificate, PkiPath, TbsCertificate, Version};
44 pub use der;
45 pub use spki;
46