[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_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"