neon_arch
commited on
Commit
β’
e8998a4
1
Parent(s):
b170574
π chore: bump the app & crates version & add regex crate (#163)
Browse files- Cargo.lock +27 -25
- Cargo.toml +5 -4
Cargo.lock
CHANGED
@@ -77,7 +77,7 @@ dependencies = [
|
|
77 |
"encoding_rs",
|
78 |
"flate2",
|
79 |
"futures-core",
|
80 |
-
"h2 0.3.
|
81 |
"http 0.2.9",
|
82 |
"httparse",
|
83 |
"httpdate",
|
@@ -475,9 +475,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
|
475 |
|
476 |
[[package]]
|
477 |
name = "cc"
|
478 |
-
version = "1.0.
|
479 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
480 |
-
checksum = "
|
481 |
dependencies = [
|
482 |
"jobserver",
|
483 |
"libc",
|
@@ -816,9 +816,9 @@ dependencies = [
|
|
816 |
|
817 |
[[package]]
|
818 |
name = "deranged"
|
819 |
-
version = "0.3.
|
820 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
821 |
-
checksum = "
|
822 |
|
823 |
[[package]]
|
824 |
name = "derive_more"
|
@@ -1176,9 +1176,9 @@ dependencies = [
|
|
1176 |
|
1177 |
[[package]]
|
1178 |
name = "h2"
|
1179 |
-
version = "0.3.
|
1180 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1181 |
-
checksum = "
|
1182 |
dependencies = [
|
1183 |
"bytes 1.4.0",
|
1184 |
"fnv",
|
@@ -1363,7 +1363,7 @@ dependencies = [
|
|
1363 |
"futures-channel",
|
1364 |
"futures-core",
|
1365 |
"futures-util",
|
1366 |
-
"h2 0.3.
|
1367 |
"http 0.2.9",
|
1368 |
"http-body 0.4.5",
|
1369 |
"httparse",
|
@@ -2454,16 +2454,16 @@ dependencies = [
|
|
2454 |
|
2455 |
[[package]]
|
2456 |
name = "reqwest"
|
2457 |
-
version = "0.11.
|
2458 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2459 |
-
checksum = "
|
2460 |
dependencies = [
|
2461 |
"base64 0.21.2",
|
2462 |
"bytes 1.4.0",
|
2463 |
"encoding_rs",
|
2464 |
"futures-core",
|
2465 |
"futures-util",
|
2466 |
-
"h2 0.3.
|
2467 |
"http 0.2.9",
|
2468 |
"http-body 0.4.5",
|
2469 |
"hyper 0.14.27",
|
@@ -2486,7 +2486,7 @@ dependencies = [
|
|
2486 |
"wasm-bindgen",
|
2487 |
"wasm-bindgen-futures",
|
2488 |
"web-sys",
|
2489 |
-
"winreg 0.
|
2490 |
]
|
2491 |
|
2492 |
[[package]]
|
@@ -2684,18 +2684,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
|
2684 |
|
2685 |
[[package]]
|
2686 |
name = "serde"
|
2687 |
-
version = "1.0.
|
2688 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2689 |
-
checksum = "
|
2690 |
dependencies = [
|
2691 |
"serde_derive",
|
2692 |
]
|
2693 |
|
2694 |
[[package]]
|
2695 |
name = "serde_derive"
|
2696 |
-
version = "1.0.
|
2697 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2698 |
-
checksum = "
|
2699 |
dependencies = [
|
2700 |
"proc-macro2 1.0.66",
|
2701 |
"quote 1.0.33",
|
@@ -2797,9 +2797,9 @@ checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
|
2797 |
|
2798 |
[[package]]
|
2799 |
name = "slab"
|
2800 |
-
version = "0.4.
|
2801 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2802 |
-
checksum = "
|
2803 |
dependencies = [
|
2804 |
"autocfg 1.1.0",
|
2805 |
]
|
@@ -3328,9 +3328,9 @@ checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9"
|
|
3328 |
|
3329 |
[[package]]
|
3330 |
name = "unicase"
|
3331 |
-
version = "2.
|
3332 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3333 |
-
checksum = "
|
3334 |
dependencies = [
|
3335 |
"version_check",
|
3336 |
]
|
@@ -3543,7 +3543,7 @@ dependencies = [
|
|
3543 |
|
3544 |
[[package]]
|
3545 |
name = "websurfx"
|
3546 |
-
version = "0.
|
3547 |
dependencies = [
|
3548 |
"actix-cors",
|
3549 |
"actix-files",
|
@@ -3559,7 +3559,8 @@ dependencies = [
|
|
3559 |
"once_cell",
|
3560 |
"rand 0.8.5",
|
3561 |
"redis",
|
3562 |
-
"
|
|
|
3563 |
"rlua",
|
3564 |
"rusty-hook",
|
3565 |
"scraper",
|
@@ -3688,11 +3689,12 @@ dependencies = [
|
|
3688 |
|
3689 |
[[package]]
|
3690 |
name = "winreg"
|
3691 |
-
version = "0.
|
3692 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3693 |
-
checksum = "
|
3694 |
dependencies = [
|
3695 |
-
"
|
|
|
3696 |
]
|
3697 |
|
3698 |
[[package]]
|
|
|
77 |
"encoding_rs",
|
78 |
"flate2",
|
79 |
"futures-core",
|
80 |
+
"h2 0.3.21",
|
81 |
"http 0.2.9",
|
82 |
"httparse",
|
83 |
"httpdate",
|
|
|
475 |
|
476 |
[[package]]
|
477 |
name = "cc"
|
478 |
+
version = "1.0.83"
|
479 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
480 |
+
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
481 |
dependencies = [
|
482 |
"jobserver",
|
483 |
"libc",
|
|
|
816 |
|
817 |
[[package]]
|
818 |
name = "deranged"
|
819 |
+
version = "0.3.8"
|
820 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
821 |
+
checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946"
|
822 |
|
823 |
[[package]]
|
824 |
name = "derive_more"
|
|
|
1176 |
|
1177 |
[[package]]
|
1178 |
name = "h2"
|
1179 |
+
version = "0.3.21"
|
1180 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1181 |
+
checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833"
|
1182 |
dependencies = [
|
1183 |
"bytes 1.4.0",
|
1184 |
"fnv",
|
|
|
1363 |
"futures-channel",
|
1364 |
"futures-core",
|
1365 |
"futures-util",
|
1366 |
+
"h2 0.3.21",
|
1367 |
"http 0.2.9",
|
1368 |
"http-body 0.4.5",
|
1369 |
"httparse",
|
|
|
2454 |
|
2455 |
[[package]]
|
2456 |
name = "reqwest"
|
2457 |
+
version = "0.11.19"
|
2458 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2459 |
+
checksum = "20b9b67e2ca7dd9e9f9285b759de30ff538aab981abaaf7bc9bd90b84a0126c3"
|
2460 |
dependencies = [
|
2461 |
"base64 0.21.2",
|
2462 |
"bytes 1.4.0",
|
2463 |
"encoding_rs",
|
2464 |
"futures-core",
|
2465 |
"futures-util",
|
2466 |
+
"h2 0.3.21",
|
2467 |
"http 0.2.9",
|
2468 |
"http-body 0.4.5",
|
2469 |
"hyper 0.14.27",
|
|
|
2486 |
"wasm-bindgen",
|
2487 |
"wasm-bindgen-futures",
|
2488 |
"web-sys",
|
2489 |
+
"winreg 0.50.0",
|
2490 |
]
|
2491 |
|
2492 |
[[package]]
|
|
|
2684 |
|
2685 |
[[package]]
|
2686 |
name = "serde"
|
2687 |
+
version = "1.0.185"
|
2688 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2689 |
+
checksum = "be9b6f69f1dfd54c3b568ffa45c310d6973a5e5148fd40cf515acaf38cf5bc31"
|
2690 |
dependencies = [
|
2691 |
"serde_derive",
|
2692 |
]
|
2693 |
|
2694 |
[[package]]
|
2695 |
name = "serde_derive"
|
2696 |
+
version = "1.0.185"
|
2697 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2698 |
+
checksum = "dc59dfdcbad1437773485e0367fea4b090a2e0a16d9ffc46af47764536a298ec"
|
2699 |
dependencies = [
|
2700 |
"proc-macro2 1.0.66",
|
2701 |
"quote 1.0.33",
|
|
|
2797 |
|
2798 |
[[package]]
|
2799 |
name = "slab"
|
2800 |
+
version = "0.4.9"
|
2801 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2802 |
+
checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67"
|
2803 |
dependencies = [
|
2804 |
"autocfg 1.1.0",
|
2805 |
]
|
|
|
3328 |
|
3329 |
[[package]]
|
3330 |
name = "unicase"
|
3331 |
+
version = "2.7.0"
|
3332 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3333 |
+
checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
|
3334 |
dependencies = [
|
3335 |
"version_check",
|
3336 |
]
|
|
|
3543 |
|
3544 |
[[package]]
|
3545 |
name = "websurfx"
|
3546 |
+
version = "0.18.0"
|
3547 |
dependencies = [
|
3548 |
"actix-cors",
|
3549 |
"actix-files",
|
|
|
3559 |
"once_cell",
|
3560 |
"rand 0.8.5",
|
3561 |
"redis",
|
3562 |
+
"regex",
|
3563 |
+
"reqwest 0.11.19",
|
3564 |
"rlua",
|
3565 |
"rusty-hook",
|
3566 |
"scraper",
|
|
|
3689 |
|
3690 |
[[package]]
|
3691 |
name = "winreg"
|
3692 |
+
version = "0.50.0"
|
3693 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3694 |
+
checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1"
|
3695 |
dependencies = [
|
3696 |
+
"cfg-if 1.0.0",
|
3697 |
+
"windows-sys",
|
3698 |
]
|
3699 |
|
3700 |
[[package]]
|
Cargo.toml
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
-
version = "0.
|
4 |
edition = "2021"
|
5 |
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
7 |
license = "AGPL-3.0"
|
8 |
|
9 |
[dependencies]
|
10 |
-
reqwest = {version="0.11.
|
11 |
tokio = {version="1.32.0",features=["full"]}
|
12 |
-
serde = {version="1.0.
|
13 |
handlebars = { version = "4.3.7", features = ["dir_source"] }
|
14 |
scraper = {version="0.17.1"}
|
15 |
actix-web = {version="4.3.1", features = ["cookies"]}
|
@@ -26,6 +26,7 @@ rand={version="0.8.5"}
|
|
26 |
once_cell = {version="1.18.0"}
|
27 |
error-stack = {version="0.3.1"}
|
28 |
async-trait = {version="0.1.73"}
|
|
|
29 |
|
30 |
[dev-dependencies]
|
31 |
rusty-hook = "^0.11.2"
|
@@ -50,7 +51,7 @@ split-debuginfo = '...'
|
|
50 |
debug-assertions = false
|
51 |
overflow-checks = false
|
52 |
lto = 'thin'
|
53 |
-
panic = '
|
54 |
incremental = false
|
55 |
codegen-units = 16
|
56 |
rpath = false
|
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
+
version = "0.18.0"
|
4 |
edition = "2021"
|
5 |
description = "An open-source alternative to Searx that provides clean, ad-free, and organic results with incredible speed while keeping privacy and security in mind."
|
6 |
repository = "https://github.com/neon-mmd/websurfx"
|
7 |
license = "AGPL-3.0"
|
8 |
|
9 |
[dependencies]
|
10 |
+
reqwest = {version="0.11.19",features=["json"]}
|
11 |
tokio = {version="1.32.0",features=["full"]}
|
12 |
+
serde = {version="1.0.185",features=["derive"]}
|
13 |
handlebars = { version = "4.3.7", features = ["dir_source"] }
|
14 |
scraper = {version="0.17.1"}
|
15 |
actix-web = {version="4.3.1", features = ["cookies"]}
|
|
|
26 |
once_cell = {version="1.18.0"}
|
27 |
error-stack = {version="0.3.1"}
|
28 |
async-trait = {version="0.1.73"}
|
29 |
+
regex = {version="1.9.3", features=["perf"]}
|
30 |
|
31 |
[dev-dependencies]
|
32 |
rusty-hook = "^0.11.2"
|
|
|
51 |
debug-assertions = false
|
52 |
overflow-checks = false
|
53 |
lto = 'thin'
|
54 |
+
panic = 'abort'
|
55 |
incremental = false
|
56 |
codegen-units = 16
|
57 |
rpath = false
|