From 90444f39c01c1225a2cb4557350150bcaf6235a8 Mon Sep 17 00:00:00 2001 From: jinhai Date: Tue, 12 Dec 2023 15:43:12 +0800 Subject: [PATCH] First commit: main.rs and dependency Signed-off-by: jinhai --- .gitignore | 2 ++ Cargo.toml | 10 ++++++++++ src/main.rs | 3 +++ 3 files changed, 15 insertions(+) create mode 100644 Cargo.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore index 6985cf1b..1a48c922 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + +.idea/ diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 00000000..f654acd4 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "doc_gpt" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] +actix = "0.13.1" +postgres = "0.19.7" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 00000000..e7a11a96 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}