From f8dbafda42e6395a69c30ea3fc95caa45313cb7a Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Sun, 27 Apr 2025 12:19:16 +1200 Subject: Initial commit --- src/lib.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/lib.rs (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..f11f18f --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,16 @@ +mod colour; +mod fragment; +mod string; + +pub use colour::*; +pub use fragment::*; +pub use string::*; + +use termcolor::*; + + +#[macro_export] macro_rules! ink { + ($($tokens:tt)*) => { + $crate::InkedFragment::from(format!($($tokens)*)) + }; +} -- cgit v1.2.3-70-g09d2