Debian Codegraph @

debian/rust-vendor/wyz/src/lib.rs

raw
1 /*! `wyz` – myrrlyn’s wyzyrdly library
2
3 This crate consolidates all the small tools and conveniences I’ve built up in my
4 experience building Rust crates.
5
6 Each module has more documentation about what it contains. The modules are
7 largely independent, and can be used individually.
8 !*/
9
10 #![no_std]
11 #![cfg_attr(debug_assertions, warn(missing_docs))]
12 #![cfg_attr(not(debug_assertions), deny(missing_docs))]
13
14 #[cfg(feature = "alloc")]
15 extern crate alloc;
16
17 #[cfg(feature = "std")]
18 extern crate std;
19
20 pub mod bidi;
21 pub mod comu;
22 pub mod fmt;
23 pub mod range;
24
25 #[cfg(all(feature = "std", feature = "garbage"))]
26 pub mod wm;
27
28 #[cfg(feature = "std")]
29 #[macro_use]
30 pub mod exit;
31
32 pub use self::{
33 bidi::*,
34 comu::*,
35 fmt::*,
36 range::*,
37 };
38
39 #[cfg(feature = "std")]
40 pub use self::exit::*;
41
42 #[cfg(all(feature = "std", feature = "garbage"))]
43 pub use self::wm::{
44 BgDrop,
45 BgDropExt,
46 };