13 releases (8 breaking)

0.16.1 Jan 29, 2023
0.16.0 Dec 28, 2022
0.15.3 Dec 21, 2022
0.11.0 Nov 29, 2022

#159 in Template engine

Download history 114/week @ 2022-11-27 81/week @ 2022-12-04 66/week @ 2022-12-11 217/week @ 2022-12-18 77/week @ 2022-12-25 28/week @ 2023-01-01 20/week @ 2023-01-08 19/week @ 2023-01-15 66/week @ 2023-01-22 132/week @ 2023-01-29 53/week @ 2023-02-05 37/week @ 2023-02-12 51/week @ 2023-02-19 61/week @ 2023-02-26 24/week @ 2023-03-05 9/week @ 2023-03-12

146 downloads per month
Used in tp-note

MIT/Apache

230KB
3.5K SLoC

The tpnote-lib library is designed to embed Tp-Note's core function in common text editors and text editor plugins. It is dealing with templates and input files and is also part of the command line application Tp-Note. The library provides a default configuration in the static variable LIB_CFG that can be customized at runtime.


lib.rs:

The tpnote-lib library is designed to embed Tp-Note's core function in common text editors and text editor plugins. It is dealing with templates and input files and is also part of the command line application Tp-Note. This library also provides a default configuration in the static variable LIB_CFG that can be customized at runtime. The defaults for the variables grouped in LIB_CFG, are defined as constants in the module config (see Rustdoc).

Tp-Note's high-level API, c.f. module workflow, abstracts most implementation details. Roughly speaking, the input path correspond to Tp-Note's first positional command line parameter and the output path is the same that is printed to stdout after usage. The main consumer of tpnote-lib's high-level API is the module workflow in tp-note crate.

Dependencies

~8–16MB
~317K SLoC