Merge pull request #249 from boris-lok/dockerfile
Browse files- Cargo.lock +43 -1
- Cargo.toml +2 -2
- Dockerfile +1 -1
Cargo.lock
CHANGED
@@ -1402,6 +1402,15 @@ version = "0.3.2"
|
|
1402 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1403 |
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
|
1404 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1405 |
[[package]]
|
1406 |
name = "html5ever"
|
1407 |
version = "0.23.0"
|
@@ -1773,6 +1782,25 @@ version = "0.4.20"
|
|
1773 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1774 |
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
|
1775 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1776 |
[[package]]
|
1777 |
name = "mac"
|
1778 |
version = "0.1.1"
|
@@ -1971,6 +1999,8 @@ checksum = "0bb37b0ba91f017aa7ca2b98ef99496827770cd635b4a932a6047c5b4bbe678e"
|
|
1971 |
dependencies = [
|
1972 |
"bstr",
|
1973 |
"cc",
|
|
|
|
|
1974 |
"num-traits",
|
1975 |
"once_cell",
|
1976 |
"pkg-config",
|
@@ -3905,7 +3935,7 @@ dependencies = [
|
|
3905 |
|
3906 |
[[package]]
|
3907 |
name = "websurfx"
|
3908 |
-
version = "0.21.
|
3909 |
dependencies = [
|
3910 |
"actix-cors",
|
3911 |
"actix-files",
|
@@ -3939,6 +3969,18 @@ dependencies = [
|
|
3939 |
"tokio 1.32.0",
|
3940 |
]
|
3941 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3942 |
[[package]]
|
3943 |
name = "winapi"
|
3944 |
version = "0.2.8"
|
|
|
1402 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1403 |
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"
|
1404 |
|
1405 |
+
[[package]]
|
1406 |
+
name = "home"
|
1407 |
+
version = "0.5.5"
|
1408 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1409 |
+
checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
|
1410 |
+
dependencies = [
|
1411 |
+
"windows-sys",
|
1412 |
+
]
|
1413 |
+
|
1414 |
[[package]]
|
1415 |
name = "html5ever"
|
1416 |
version = "0.23.0"
|
|
|
1782 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1783 |
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"
|
1784 |
|
1785 |
+
[[package]]
|
1786 |
+
name = "lua-src"
|
1787 |
+
version = "546.0.1"
|
1788 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1789 |
+
checksum = "7c26d4af78361e025a3d03a2b964cd1592aff7495f4d4f7947218c084c6fdca8"
|
1790 |
+
dependencies = [
|
1791 |
+
"cc",
|
1792 |
+
]
|
1793 |
+
|
1794 |
+
[[package]]
|
1795 |
+
name = "luajit-src"
|
1796 |
+
version = "210.4.8+resty107baaf"
|
1797 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1798 |
+
checksum = "e05167e8b2a2185758d83ed23541e5bd8bce37072e4204e0ef2c9b322bc87c4e"
|
1799 |
+
dependencies = [
|
1800 |
+
"cc",
|
1801 |
+
"which",
|
1802 |
+
]
|
1803 |
+
|
1804 |
[[package]]
|
1805 |
name = "mac"
|
1806 |
version = "0.1.1"
|
|
|
1999 |
dependencies = [
|
2000 |
"bstr",
|
2001 |
"cc",
|
2002 |
+
"lua-src",
|
2003 |
+
"luajit-src",
|
2004 |
"num-traits",
|
2005 |
"once_cell",
|
2006 |
"pkg-config",
|
|
|
3935 |
|
3936 |
[[package]]
|
3937 |
name = "websurfx"
|
3938 |
+
version = "0.21.4"
|
3939 |
dependencies = [
|
3940 |
"actix-cors",
|
3941 |
"actix-files",
|
|
|
3969 |
"tokio 1.32.0",
|
3970 |
]
|
3971 |
|
3972 |
+
[[package]]
|
3973 |
+
name = "which"
|
3974 |
+
version = "4.4.2"
|
3975 |
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
3976 |
+
checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7"
|
3977 |
+
dependencies = [
|
3978 |
+
"either",
|
3979 |
+
"home",
|
3980 |
+
"once_cell",
|
3981 |
+
"rustix",
|
3982 |
+
]
|
3983 |
+
|
3984 |
[[package]]
|
3985 |
name = "winapi"
|
3986 |
version = "0.2.8"
|
Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
-
version = "0.21.
|
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"
|
@@ -19,7 +19,7 @@ serde_json = {version="1.0.105"}
|
|
19 |
fake-useragent = {version="0.1.3"}
|
20 |
env_logger = {version="0.10.0"}
|
21 |
log = {version="0.4.20"}
|
22 |
-
mlua = {version="0.8.10", features=["luajit"]}
|
23 |
redis = {version="0.23.3", features=["tokio-comp","connection-manager"], optional = true}
|
24 |
md5 = {version="0.7.0"}
|
25 |
rand={version="0.8.5"}
|
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
+
version = "0.21.4"
|
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"
|
|
|
19 |
fake-useragent = {version="0.1.3"}
|
20 |
env_logger = {version="0.10.0"}
|
21 |
log = {version="0.4.20"}
|
22 |
+
mlua = {version="0.8.10", features=["luajit", "vendored"]}
|
23 |
redis = {version="0.23.3", features=["tokio-comp","connection-manager"], optional = true}
|
24 |
md5 = {version="0.7.0"}
|
25 |
rand={version="0.8.5"}
|
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM rust:latest AS chef
|
2 |
# We only pay the installation cost once,
|
3 |
# it will be cached from the second build onwards
|
4 |
-
RUN cargo install cargo-chef
|
5 |
|
6 |
WORKDIR /app
|
7 |
|
|
|
1 |
FROM rust:latest AS chef
|
2 |
# We only pay the installation cost once,
|
3 |
# it will be cached from the second build onwards
|
4 |
+
RUN cargo install cargo-chef --locked
|
5 |
|
6 |
WORKDIR /app
|
7 |
|