blob: 9fa3c3ea529cd5a5b9b447f4956b919763adad4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
[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"
env_logger = "0.11.6"
[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"
|