Spaces:
Running
Running
Merge branch 'rolling' into FEAT/566_initial-support-for-low-powered-devices-with-other-architectures
Browse files- Cargo.lock +7 -8
- Cargo.toml +11 -6
- Dockerfile +1 -1
- dev.Dockerfile +1 -1
Cargo.lock
CHANGED
@@ -2058,9 +2058,9 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
|
2058 |
|
2059 |
[[package]]
|
2060 |
name = "maud"
|
2061 |
-
version = "0.
|
2062 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2063 |
-
checksum = "
|
2064 |
dependencies = [
|
2065 |
"actix-web",
|
2066 |
"futures-util",
|
@@ -2070,9 +2070,9 @@ dependencies = [
|
|
2070 |
|
2071 |
[[package]]
|
2072 |
name = "maud_macros"
|
2073 |
-
version = "0.
|
2074 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2075 |
-
checksum = "
|
2076 |
dependencies = [
|
2077 |
"proc-macro-error",
|
2078 |
"proc-macro2 1.0.81",
|
@@ -2144,8 +2144,7 @@ dependencies = [
|
|
2144 |
[[package]]
|
2145 |
name = "minify-js"
|
2146 |
version = "0.6.0"
|
2147 |
-
source = "
|
2148 |
-
checksum = "b1fa5546ee8bd66024113e506cabe4230e76635a094c06ea2051b66021dda92e"
|
2149 |
dependencies = [
|
2150 |
"aho-corasick 0.7.20",
|
2151 |
"lazy_static",
|
@@ -2452,9 +2451,9 @@ dependencies = [
|
|
2452 |
|
2453 |
[[package]]
|
2454 |
name = "parse-js"
|
2455 |
-
version = "0.
|
2456 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2457 |
-
checksum = "
|
2458 |
dependencies = [
|
2459 |
"aho-corasick 0.7.20",
|
2460 |
"bumpalo",
|
|
|
2058 |
|
2059 |
[[package]]
|
2060 |
name = "maud"
|
2061 |
+
version = "0.26.0"
|
2062 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2063 |
+
checksum = "df518b75016b4289cdddffa1b01f2122f4a49802c93191f3133f6dc2472ebcaa"
|
2064 |
dependencies = [
|
2065 |
"actix-web",
|
2066 |
"futures-util",
|
|
|
2070 |
|
2071 |
[[package]]
|
2072 |
name = "maud_macros"
|
2073 |
+
version = "0.26.0"
|
2074 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2075 |
+
checksum = "fa453238ec218da0af6b11fc5978d3b5c3a45ed97b722391a2a11f3306274e18"
|
2076 |
dependencies = [
|
2077 |
"proc-macro-error",
|
2078 |
"proc-macro2 1.0.81",
|
|
|
2144 |
[[package]]
|
2145 |
name = "minify-js"
|
2146 |
version = "0.6.0"
|
2147 |
+
source = "git+https://github.com/RuairidhWilliamson/minify-js?branch=master#8637df12fdb1d86d7586dde8adf4b8a5d39e7067"
|
|
|
2148 |
dependencies = [
|
2149 |
"aho-corasick 0.7.20",
|
2150 |
"lazy_static",
|
|
|
2451 |
|
2452 |
[[package]]
|
2453 |
name = "parse-js"
|
2454 |
+
version = "0.21.0"
|
2455 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2456 |
+
checksum = "26f2abaec4434c4c5ec8bb3abfa112c9779f774b54ef3d9a6321e022cfcced5f"
|
2457 |
dependencies = [
|
2458 |
"aho-corasick 0.7.20",
|
2459 |
"bumpalo",
|
Cargo.toml
CHANGED
@@ -25,8 +25,8 @@ tokio = { version = "1.32.0", features = [
|
|
25 |
"io-util",
|
26 |
], default-features = false }
|
27 |
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
|
28 |
-
serde_json = { version = "1.0.
|
29 |
-
maud = { version = "0.
|
30 |
"actix-web",
|
31 |
] }
|
32 |
scraper = { version = "0.18.1", default-features = false }
|
@@ -52,7 +52,7 @@ blake3 = { version = "1.5.0", default-features = false }
|
|
52 |
error-stack = { version = "0.4.0", default-features = false, features = [
|
53 |
"std",
|
54 |
] }
|
55 |
-
async-trait = { version = "0.1.
|
56 |
regex = { version = "1.9.4", features = ["perf"], default-features = false }
|
57 |
smallvec = { version = "1.13.1", features = [
|
58 |
"union",
|
@@ -79,7 +79,7 @@ base64 = { version = "0.21.5", default-features = false, features = [
|
|
79 |
"std",
|
80 |
], optional = true }
|
81 |
cfg-if = { version = "1.0.0", default-features = false, optional = true }
|
82 |
-
keyword_extraction = { version = "1.3
|
83 |
"tf_idf",
|
84 |
|
85 |
|
@@ -96,10 +96,15 @@ criterion = { version = "0.5.1", default-features = false }
|
|
96 |
tempfile = { version = "3.10.1", default-features = false }
|
97 |
|
98 |
[build-dependencies]
|
99 |
-
lightningcss = { version = "1.0.0-alpha.
|
100 |
"grid",
|
101 |
] }
|
102 |
-
|
|
|
|
|
|
|
|
|
|
|
103 |
|
104 |
[profile.dev]
|
105 |
opt-level = 0
|
|
|
25 |
"io-util",
|
26 |
], default-features = false }
|
27 |
serde = { version = "1.0.196", default-features = false, features = ["derive"] }
|
28 |
+
serde_json = { version = "1.0.116", default-features = false }
|
29 |
+
maud = { version = "0.26.0", default-features = false, features = [
|
30 |
"actix-web",
|
31 |
] }
|
32 |
scraper = { version = "0.18.1", default-features = false }
|
|
|
52 |
error-stack = { version = "0.4.0", default-features = false, features = [
|
53 |
"std",
|
54 |
] }
|
55 |
+
async-trait = { version = "0.1.80", default-features = false }
|
56 |
regex = { version = "1.9.4", features = ["perf"], default-features = false }
|
57 |
smallvec = { version = "1.13.1", features = [
|
58 |
"union",
|
|
|
79 |
"std",
|
80 |
], optional = true }
|
81 |
cfg-if = { version = "1.0.0", default-features = false, optional = true }
|
82 |
+
keyword_extraction = { version = "1.4.3", default-features = false, features = [
|
83 |
"tf_idf",
|
84 |
|
85 |
|
|
|
96 |
tempfile = { version = "3.10.1", default-features = false }
|
97 |
|
98 |
[build-dependencies]
|
99 |
+
lightningcss = { version = "1.0.0-alpha.55", default-features = false, features = [
|
100 |
"grid",
|
101 |
] }
|
102 |
+
# Disabled until bug fixing update
|
103 |
+
# minify-js = { version = "0.6.0", default-features = false }
|
104 |
+
# Temporary fork with fix
|
105 |
+
minify-js = { git = "https://github.com/RuairidhWilliamson/minify-js", branch = "master", version = "0.6.0", default-features = false}
|
106 |
+
|
107 |
+
|
108 |
|
109 |
[profile.dev]
|
110 |
opt-level = 0
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM --platform=$BUILDPLATFORM rust:1.
|
2 |
# We only pay the installation cost once,
|
3 |
# it will be cached from the second build onwards
|
4 |
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev upx perl build-base
|
|
|
1 |
+
FROM --platform=$BUILDPLATFORM rust:1.77.2-alpine3.18 AS chef
|
2 |
# We only pay the installation cost once,
|
3 |
# it will be cached from the second build onwards
|
4 |
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev upx perl build-base
|
dev.Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Create Builder image
|
2 |
-
FROM --platform=$BUILDPLATFORM rust:1.
|
3 |
|
4 |
# Install required dependencies
|
5 |
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev perl build-base
|
|
|
1 |
# Create Builder image
|
2 |
+
FROM --platform=$BUILDPLATFORM rust:1.77.2-alpine3.18
|
3 |
|
4 |
# Install required dependencies
|
5 |
RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev perl build-base
|