From 61cc2a8235d8b9837fce952ea3b5288acf61a457 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Wed, 17 Jan 2024 00:14:12 +0100 Subject: [PATCH] project setup --- .gitignore | 16 ++++++++++++++++ Cargo.toml | 5 +++++ src/main.rs | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6174eb4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,16 @@ +# Project +.notes + +# Build +target +debug + +# Cargo +Cargo.lock + +# rustfmt +**/*.rs.bk + +# MSVC Windows build +.pdb + diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..8bdaf66 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,5 @@ +[package] +name = "tlock" +version = "0.0.1" +edition = "2021" + diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..bff1fe9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,5 @@ +use std::time::SystemTime; + +fn main() { + println!("{:?}", SystemTime::now()); +}