Cargo init.
This commit is contained in:
parent
cbda65e963
commit
daa8ea00ba
5 changed files with 18 additions and 1 deletions
1
backend/.gitignore
vendored
Normal file
1
backend/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
/target
|
||||||
7
backend/Cargo.lock
generated
Normal file
7
backend/Cargo.lock
generated
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "backend"
|
||||||
|
version = "0.1.0"
|
||||||
6
backend/Cargo.toml
Normal file
6
backend/Cargo.toml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
[package]
|
||||||
|
name = "backend"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2024"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
3
backend/src/main.rs
Normal file
3
backend/src/main.rs
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
||||||
|
|
@ -44,7 +44,7 @@ captains-log/
|
||||||
## Phase 1: Project Foundation (Days 1-2)
|
## Phase 1: Project Foundation (Days 1-2)
|
||||||
|
|
||||||
### Task 1.1: Initialize Rust Project
|
### Task 1.1: Initialize Rust Project
|
||||||
- [ ] **File**: `backend/Cargo.toml`
|
- [x] **File**: `backend/Cargo.toml`
|
||||||
- Create new Rust binary project
|
- Create new Rust binary project
|
||||||
- Add core dependencies: axum, sqlx, tokio, serde, uuid, chrono, anyhow
|
- Add core dependencies: axum, sqlx, tokio, serde, uuid, chrono, anyhow
|
||||||
- Add dev dependencies: tarpaulin for coverage
|
- Add dev dependencies: tarpaulin for coverage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue