[][src]Crate interpolate

A simple form of Rust string interpolation

interpolate provides basic string interpolation functionality with a very light-weight syntax.

#![feature(use_extern_macros, prox_macro_non_items)]
use interpolate::s;

let name = "Hercules";
let greet = s!("Hello, {name}");
let sos = s!("HELP, {name.to_uppercase()}");

That is all.

Macros

p

Inline interpolating printing macro

s

Inline interpolation macro