From 0972fa6eab8c9111311f082ba8abfdc6b4a40945 Mon Sep 17 00:00:00 2001 From: nil Date: Wed, 2 Oct 2024 17:48:56 +0200 Subject: commit changes --- Cargo.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..b4a8000 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,17 @@ +[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" + +[package.metadata.scripts] +db_create = "bash ./scripts/create_db.sh" +db_populate = "bash ./scripts/populate.sh" +# db_start = "sudo docker start sqlx" +# db_start = "sudo docker stop sqlx" +# db_remove = "sudo docker rm sqlx" -- cgit v1.2.3