summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 672a1d7c032e260d8e278177af54f42aa092f559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[package]
name = "ver1"
version = "0.1.0"
edition = "2021"

[dependencies]
actix-web = { version = "4.9.0"}
sqlx = { version = "0.8.2", features = ["mysql", "macros", "runtime-tokio"] }
serde = { version = "1.0.210", features = ["derive"] }
tokio = "1.40.0"
dotenv = "0.15.0"
serde_json = "1.0.128"

[package.metadata.scripts]
db_create = "bash ./scripts/create_db.sh"
db_populate = "bash ./scripts/populate.sh"
db_start = "sudo systemctl start mariadb"
db_stop = "sudo systemctl stop mariadb"
# db_start = "sudo docker start sqlx"
# db_start = "sudo docker stop sqlx"
# db_remove = "sudo docker rm sqlx"