#pdf #document #json #text

pdf-doc

Create a writing document and save to PDF with Rust

3 releases

0.1.2 Jul 25, 2024
0.1.1 Jul 25, 2024
0.1.0 Jul 25, 2024

#221 in Text editors

Download history 152/week @ 2024-07-19 199/week @ 2024-07-26 13/week @ 2024-08-02 36/week @ 2024-09-13 26/week @ 2024-09-20 13/week @ 2024-09-27 1/week @ 2024-10-04

76 downloads per month

MIT license

34KB
711 lines

pdf-doc

Create a writing document and save to PDF with Rust.

A minimal library.

Model a writing document with formatting options.

Slightly modeled after Google Docs or Microsoft Word.

Save to PDF or JSON.

Reads JSON documents only.

Prerequisites

Install clang++ for the skia-safe crate dependency.

On Linux

sudo apt update
sudo apt install -y clang
clang++ --version

Dependencies

~38–55MB
~732K SLoC