blob: 8022b51417213ec52743d625ab6b4a81b8402f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[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"
jsonwebtoken = "9.3.0"
chrono = "0.4.39"
[package.metadata.scripts]
db_create = "bash ./scripts/create_db.sh"
db_populate = "bash ./scripts/populate.sh"
db_fast_populate = "bash ./scripts/fast_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"
|