3 stable releases

Uses old Rust 2015

1.0.2 Apr 29, 2017
1.0.1 Apr 28, 2017

#8 in #concatenation

22 downloads per month

MIT/Apache

3KB

lazy_cat Crates listing

Lazy concatenation of strings and other things in Rust.

Documentation

Example:

#[macro_use]
extern crate lazy_cat;

fn main() {
  assert_eq!("Hello world!", lazy_cat!("Hello", " world!").to_string());
  assert_eq!("Hello John Doe!", lazy_cat!("Hello ", "John ", "Doe!").to_string());
  assert_eq!("123Hello", lazy_cat!(1, 2, 3, "Hello").to_string());
}

No runtime deps