From 1384288d887d11aa4552a874cbea6a7b4505f11f Mon Sep 17 00:00:00 2001 From: Tiago Katcipis Date: Thu, 21 Dec 2023 22:56:33 +0100 Subject: [PATCH] feat: add library crate --- src/lib.rs | 3 +++ src/main.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/lib.rs diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..319bc8c --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +pub fn run() { + println!("tailchat!!!"); +} diff --git a/src/main.rs b/src/main.rs index ca76d68..1a2635b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,3 @@ fn main() { - println!("tailchat!"); + tailchat::run(); }