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
52
53
54
55
56
57
58
59
60
61
62
//! This crate provides:
//!
//! - [`InputByteStream`], [`OutputByteStream`], and [`InteractiveByteStream`]
//! for working with byte streams, and [`InputTextStream`],
//! [`OutputTextStream`], and [`InteractiveTextStream`] for working with text
//! streams. These implement [`Read`] and [`Write`] in the usual way, so they
//! interoperate with existing Rust code.
//!
//! You can use all these types in type-aware command-line parsing packages
//! such as [`nameless-clap_derive`] or this library's own [`kommand`].
//! (`nameless-clap_derive` is a temporary fork of [`clap_derive`]; we are
//! in the process of upstreaming our patches).
//!
//! [`nameless-clap_derive`]: https://crates.io/crates/nameless-clap_derive
//! [`clap_derive`]: https://crates.io/crates/clap_derive
//! [`kommand`]: https://crates.io/crates/kommand
//! [`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
//! [`Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
//! [`InputByteStream`]: https://docs.rs/nameless/latest/nameless/struct.InputByteStream.html
//! [`OutputByteStream`]: https://docs.rs/nameless/latest/nameless/struct.OutputByteStream.html
//! [`InteractiveByteStream`]: https://docs.rs/nameless/latest/nameless/struct.InteractiveByteStream.html
//! [`InputTextStream`]: https://docs.rs/nameless/latest/nameless/struct.InputTextStream.html
//! [`OutputTextStream`]: https://docs.rs/nameless/latest/nameless/struct.OutputTextStream.html
//! [`InteractiveTextStream`]: https://docs.rs/nameless/latest/nameless/struct.InteractiveTextStream.html
// Re-export `clap` for use in the proc macros.
pub use clap;
pub use Mime;
pub use InputByteStream;
pub use InputTextStream;
pub use InteractiveByteStream;
pub use InteractiveTextStream;
pub use LazyOutput;
pub use MediaType;
pub use OutputByteStream;
pub use OutputTextStream;
pub use Pseudonym;