From db58cb58b5d5612ec2aa347d0f8531b26ab2e7f3 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Fri, 27 Sep 2024 14:04:23 +0200 Subject: upload changes --- rust/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'rust/Cargo.toml') diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 6fdfa00..bc8db03 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -5,6 +5,12 @@ edition = "2021" [dependencies] actix-web = { version = "4.9.0"} -sqlx = { version = "0.8.2", features = ["mysql", "macros" , "runtime-tokio"] } +sqlx = { version = "0.8.2", features = ["mysql", "macros", "runtime-tokio"] } serde = { version = "1.0.210", features = ["derive"] } tokio = "1.40.0" + +[package.metadata.scripts] +db_create = "bash ./scripts/create_db.sh" +# db_start = "sudo docker start sqlx" +# db_start = "sudo docker stop sqlx" +# db_remove = "sudo docker rm sqlx" -- cgit v1.2.3