1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! # Further reading
//!
//! More usage examples are available under the respective modules:
//!
//! - [`composed`]: Operations on OpenPGP composite objects, such as
//! [Transferable Public Key]s (Certificates) or [Message]s.
//! This module covers most common OpenPGP operations, including producing and consuming messages,
//! key generation, and dealing with detached signatures.
//!
//! - [`packet`]: Lower-level packet based operations.
//!
//! - [`armor`]: Lower-level access to [ASCII Armor] functionality is exposed in the [`armor`]
//! module.
//! (However, users of rPGP will usually handle armor implicitly in the [`composed`] module)
//!
//! [Transferable Public Key]: https://www.rfc-editor.org/rfc/rfc9580#name-transferable-public-keys
//! [Message]: https://www.rfc-editor.org/rfc/rfc9580#name-openpgp-messages
//! [ASCII Armor]: https://www.rfc-editor.org/rfc/rfc9580#name-forming-ascii-armor
// Reexport as used in the public api
pub use bytes;
pub
/// The version of this crate.
pub const VERSION: &str = env!;
/// Default maximum size that gets buffered.
pub const MAX_BUFFER_SIZE: usize = 1024 * 1024 * 1024;