2 unstable releases

0.2.0 Nov 10, 2024
0.1.0 Nov 10, 2024

#163 in Template engine

Download history 266/week @ 2024-11-10 19/week @ 2024-11-17

285 downloads per month
Used in 2 crates (via tunnelbana-redirects)

MIT/Apache

16KB
336 lines

simpleinterpolation

This is a simple library I created because I wanted something to take strings from users and interpolate them with variables.

It was created for speederboard and is mainly used in experienced and tunnelbana.


lib.rs:

SimpleInterpolation

A dead simple interpolation format this is an {interpolated} string Variable names may have -, _, 0-9, a-z, and A-Z, any other characters will cause errors.

No runtime deps