rnp-rs 0.1.1

Idiomatic Rust binding to the RNP OpenPGP C FFI (librnp)
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Operation-level wrappers: shared `Input`/`Output` RAII handles plus future
//! op-builder types (sign, verify, encrypt, generate).
//!
//! All `rnp_input_t` and `rnp_output_t` ownership in this crate flows through
//! [`Input`] and [`Output`] declared in [`io`]. No other module calls
//! `rnp_input_*` or `rnp_output_*` destroyers directly.

pub mod io;

pub use io::{
    call_for_optional_string, call_for_string, cstr_to_optional_string, cstr_to_string,
    ArmorType, Input, Output, OutputFileFlags,
};