diff --git a/Cargo.lock b/Cargo.lock index 443bca9..e04fd72 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -204,6 +204,18 @@ dependencies = [ "syn 2.0.60", ] +[[package]] +name = "actix_block_ai_crawling" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "50d2168ea689ebe088a4ace947abec73cba9214d1cfde9df6d4703425c511786" +dependencies = [ + "actix-web", + "futures-util", + "ipnet", + "iprange", +] + [[package]] name = "addr2line" version = "0.21.0" @@ -1832,6 +1844,15 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +[[package]] +name = "iprange" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37209be0ad225457e63814401415e748e2453a5297f9b637338f5fb8afa4ec00" +dependencies = [ + "ipnet", +] + [[package]] name = "itertools" version = "0.12.1" @@ -3580,6 +3601,7 @@ version = "0.1.0" dependencies = [ "actix-files", "actix-web", + "actix_block_ai_crawling", "argon2", "chrono", "chrono-tz", diff --git a/Cargo.toml b/Cargo.toml index a7fab63..2e6b922 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,6 +39,7 @@ firebase-js-rs = "0.1.1" serde-wasm-bindgen = "0.6.5" argon2 = "0.5.3" ron = "0.8.1" +actix_block_ai_crawling = {version = "0.2.8", optional = true} [features] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] @@ -56,7 +57,8 @@ ssr = [ "leptos/ssr", "leptos_meta/ssr", "leptos_router/ssr", - "leptos_i18n/actix", + "leptos_i18n/actix", + "dep:actix_block_ai_crawling" ] [package.metadata.cargo-all-features]