diff --git a/Cargo.lock b/Cargo.lock index c2b94c2..c2e7a15 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,12 +204,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d5a26814d8dcb93b0e5a0ff3c6d80a8843bafb21b39e8e18a6f05471870e110" -[[package]] -name = "arc-swap" -version = "1.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457" - [[package]] name = "argon2" version = "0.5.3" @@ -1040,28 +1034,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "chrono-tz" -version = "0.8.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d59ae0466b83e838b81a54256c39d5d7c20b9d7daa10510a242d9b75abd5936e" -dependencies = [ - "chrono", - "chrono-tz-build", - "phf", -] - -[[package]] -name = "chrono-tz-build" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "433e39f13c9a060046954e0592a8d0a4bcb1040125cbf91cb8ee58964cfb350f" -dependencies = [ - "parse-zoneinfo", - "phf", - "phf_codegen", -] - [[package]] name = "ciborium" version = "0.2.2" @@ -1111,20 +1083,6 @@ dependencies = [ "x509-cert", ] -[[package]] -name = "combine" -version = "4.6.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba5a308b75df32fe02788e748662718f03fde005016435c444eea572398219fd" -dependencies = [ - "bytes", - "futures-core", - "memchr", - "pin-project-lite", - "tokio", - "tokio-util", -] - [[package]] name = "concurrent-queue" version = "2.5.0" @@ -1253,36 +1211,6 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" -[[package]] -name = "deadpool" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "421fe0f90f2ab22016f32a9881be5134fdd71c65298917084b0c7477cbc3856e" -dependencies = [ - "async-trait", - "deadpool-runtime", - "num_cpus", - "retain_mut", - "tokio", -] - -[[package]] -name = "deadpool-runtime" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "092966b41edc516079bdf31ec78a2e0588d1d0c08f78b91d8307215928642b2b" - -[[package]] -name = "delegate" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ee5df75c70b95bd3aacc8e2fd098797692fb1d54121019c4de481e42f04c8a1" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "der" version = "0.7.9" @@ -2549,45 +2477,6 @@ dependencies = [ "rand", ] -[[package]] -name = "neo4rs" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43dd99fe7dbc68f754759874d83ec2ca43a61ab7d51c10353d024094805382be" -dependencies = [ - "async-trait", - "backoff", - "bytes", - "chrono", - "chrono-tz", - "deadpool", - "delegate", - "futures", - "log", - "neo4rs-macros", - "paste", - "pin-project-lite", - "rustls-native-certs 0.7.3", - "rustls-pemfile", - "serde", - "serde_json", - "thiserror", - "tokio", - "tokio-rustls", - "url", - "webpki-roots", -] - -[[package]] -name = "neo4rs-macros" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53a0d57c55d2d1dc62a2b1d16a0a1079eb78d67c36bdf468d582ab4482ec7002" -dependencies = [ - "quote", - "syn 2.0.77", -] - [[package]] name = "new_debug_unreachable" version = "1.0.6" @@ -2794,15 +2683,6 @@ dependencies = [ "windows-targets 0.52.6", ] -[[package]] -name = "parse-zoneinfo" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f2a05b18d44e2957b88f96ba460715e295bc1d7510468a2f3d3b44535d26c24" -dependencies = [ - "regex", -] - [[package]] name = "password-hash" version = "0.5.0" @@ -3361,29 +3241,6 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d4f118ca848dfd632a8c0883f9aacd6b58da548eb0629a78cafee3d330938da" -[[package]] -name = "redis" -version = "0.27.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7e86f5670bd8b028edfb240f0616cad620705b31ec389d55e4f3da2c38dcd48" -dependencies = [ - "arc-swap", - "async-trait", - "bytes", - "combine", - "futures-util", - "itoa", - "num-bigint", - "percent-encoding", - "pin-project-lite", - "ryu", - "sha1_smol", - "socket2 0.5.7", - "tokio", - "tokio-util", - "url", -] - [[package]] name = "redox_syscall" version = "0.5.3" @@ -3539,12 +3396,6 @@ dependencies = [ "thiserror", ] -[[package]] -name = "retain_mut" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0" - [[package]] name = "revision" version = "0.10.0" @@ -4056,12 +3907,6 @@ dependencies = [ "digest", ] -[[package]] -name = "sha1_smol" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" - [[package]] name = "sha2" version = "0.10.8" @@ -5495,15 +5340,11 @@ dependencies = [ "async-openai", "axum", "axum_typed_multipart", - "bytes", - "futures", "futures-lite 2.3.0", "lapin", "mime", "mime_guess", "mockall", - "neo4rs", - "redis", "serde", "serde_json", "sha2", diff --git a/Cargo.toml b/Cargo.toml index 388e071..af28111 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,21 +3,15 @@ name = "zettle_db" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] async-openai = "0.24.1" axum = { version = "0.7.5", features = ["multipart", "macros"] } axum_typed_multipart = "0.12.1" -bytes = { version = "1.7.2", features = ["serde"] } -futures = "0.3.30" futures-lite = "2.3.0" lapin = { version = "2.5.0", features = ["serde_json"] } mime = "0.3.17" mime_guess = "2.0.5" mockall = "0.13.0" -neo4rs = { version = "0.8.0", features = ["serde_json"] } -redis = { version = "0.27.2", features = ["aio", "tokio-comp"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" sha2 = "0.10.8"