summaryrefslogtreecommitdiff
path: root/rust/Cargo.toml
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-09-27 14:04:23 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-09-27 14:04:23 +0200
commitdb58cb58b5d5612ec2aa347d0f8531b26ab2e7f3 (patch)
tree948e96bf2eabc7694194c07e9ac19acafa760b94 /rust/Cargo.toml
parent9d70bfed33df8ea4cd77f915454da265edccf401 (diff)
upload changes
Diffstat (limited to 'rust/Cargo.toml')
-rw-r--r--rust/Cargo.toml8
1 files changed, 7 insertions, 1 deletions
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"