summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-02-17 00:08:46 +0100
committerLaurenz <laurmaedje@gmail.com>2019-02-17 00:08:46 +0100
commitc8d3ea89cd5badd796d17e83f2fb292210161227 (patch)
tree9430ef11c944a1fbd5e528015c1e7ac34cb7a2f7 /src/lib.rs
parent6214405766fae4e54ce1c743780019c1b771d3c7 (diff)
Enhance docs (i.a. with examples) 📝
- Complete examples for pdf and opentype crates - Removes allow-unused attributes and fixes their warnings - Various small improvements
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d50c19f9..924d75e4 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,10 +1,13 @@
-//! Typeset is a library for compiling _plain-text_ strings written in the
-//! corresponding typesetting language into a typesetted document in a
-//! file format like _PDF_.
-
-#![allow(unused)]
+//! Typeset is a library for compiling documents written in the
+//! corresponding typesetting language into a typesetted document in an
+//! output format like _PDF_.
+mod pdf;
+mod utility;
pub mod parsing;
pub mod doc;
-pub mod pdf;
-pub mod utility;
+
+/// Writing of documents into supported formats.
+pub mod export {
+ pub use crate::pdf::WritePdf;
+}