From c8d3ea89cd5badd796d17e83f2fb292210161227 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 17 Feb 2019 00:08:46 +0100 Subject: =?UTF-8?q?Enhance=20docs=20(i.a.=20with=20examples)=20?= =?UTF-8?q?=F0=9F=93=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Complete examples for pdf and opentype crates - Removes allow-unused attributes and fixes their warnings - Various small improvements --- src/lib.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/lib.rs') 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; +} -- cgit v1.2.3