summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index a1ed909..7cbae7c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,7 +1,15 @@
-pub mod codec;
+#![warn(missing_docs)]
-#[cfg(feature = "jpg")]
-pub mod jpg;
+//! Library providing steganography codecs for various carrier and payload types, designed to be
+//! extensible.
+mod codec;
+pub use codec::*;
+
+/// Codecs for carriers in JPEG format.
+#[cfg(feature = "jpeg")]
+pub mod jpeg;
+
+/// Codecs for carriers in lossless image formats (PNG, WebP, etc.).
#[cfg(feature = "lossless")]
pub mod lossless;