Commit
·
90444f3
1
Parent(s):
93f90ba
First commit: main.rs and dependency
Browse filesSigned-off-by: jinhai <haijin.chn@gmail.com>
- .gitignore +2 -0
- Cargo.toml +10 -0
- src/main.rs +3 -0
.gitignore
CHANGED
@@ -12,3 +12,5 @@ Cargo.lock
|
|
12 |
|
13 |
# MSVC Windows builds of rustc generate these, which store debugging information
|
14 |
*.pdb
|
|
|
|
|
|
12 |
|
13 |
# MSVC Windows builds of rustc generate these, which store debugging information
|
14 |
*.pdb
|
15 |
+
|
16 |
+
.idea/
|
Cargo.toml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[package]
|
2 |
+
name = "doc_gpt"
|
3 |
+
version = "0.1.0"
|
4 |
+
edition = "2021"
|
5 |
+
|
6 |
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
7 |
+
|
8 |
+
[dependencies]
|
9 |
+
actix = "0.13.1"
|
10 |
+
postgres = "0.19.7"
|
src/main.rs
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
fn main() {
|
2 |
+
println!("Hello, world!");
|
3 |
+
}
|