• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 extern crate alloc;
19 
20 #[cfg(feature = "std")]
21 extern crate std;
22 
23 #[macro_use]
24 mod macros;
25 
26 pub mod anchor;
27 pub mod attr;
28 pub mod certificate;
29 pub mod crl;
30 pub mod ext;
31 pub mod name;
32 pub mod request;
33 pub mod serial_number;
34 pub mod time;
35 
36 #[cfg(feature = "builder")]
37 pub mod builder;
38 
39 pub use certificate::{Certificate, PkiPath, TbsCertificate, Version};
40 pub use der;
41 pub use spki;
42