diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..53f8242 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "cargo" + directory: "/" + schedule: + interval: "weekly" diff --git a/.gitignore b/.gitignore index 6985cf1..55a85aa 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,10 @@ Cargo.lock # MSVC Windows builds of rustc generate these, which store debugging information *.pdb + + +# Added by cargo + +/target + +.env \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..e82d9ff --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "osma-server" +version = "0.1.0" +edition = "2021" + +[dependencies] +dotenv = "0.15.0" + +actix-web = "4" +actix-rt = "2.7.0" +actix-cors = "0.6.1" +actix-web-grants = "3.0.1" +actix-web-httpauth = "0.8" + +mongodb = { version = "2.1.0"} +bson = "2.1.0" +futures = "0.3.21" + +jsonwebtoken = "8" +serde = {version = "1.0", features = ["derive"] } +serde_json = "1" + +sha3 = "0.10.1" +chrono = "0.4" \ No newline at end of file