alamin655 commited on
Commit
4847a6e
·
unverified ·
2 Parent(s): 2693cd1 951060d

Merge pull request #567 from neon-mmd/FEAT/566_initial-support-for-low-powered-devices-with-other-architectures

Browse files
Files changed (2) hide show
  1. Cargo.lock +24 -3
  2. Cargo.toml +45 -1
Cargo.lock CHANGED
@@ -351,7 +351,7 @@ version = "0.4.12"
351
  source = "registry+https://github.com/rust-lang/crates.io-index"
352
  checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa"
353
  dependencies = [
354
- "brotli",
355
  "flate2",
356
  "futures-core",
357
  "memchr",
@@ -490,7 +490,18 @@ checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b"
490
  dependencies = [
491
  "alloc-no-stdlib",
492
  "alloc-stdlib",
493
- "brotli-decompressor",
 
 
 
 
 
 
 
 
 
 
 
494
  ]
495
 
496
  [[package]]
@@ -503,6 +514,16 @@ dependencies = [
503
  "alloc-stdlib",
504
  ]
505
 
 
 
 
 
 
 
 
 
 
 
506
  [[package]]
507
  name = "bstr"
508
  version = "1.9.1"
@@ -4440,7 +4461,7 @@ dependencies = [
4440
 
4441
  [[package]]
4442
  name = "websurfx"
4443
- version = "1.12.1"
4444
  dependencies = [
4445
  "actix-cors",
4446
  "actix-files",
 
351
  source = "registry+https://github.com/rust-lang/crates.io-index"
352
  checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa"
353
  dependencies = [
354
+ "brotli 5.0.0",
355
  "flate2",
356
  "futures-core",
357
  "memchr",
 
490
  dependencies = [
491
  "alloc-no-stdlib",
492
  "alloc-stdlib",
493
+ "brotli-decompressor 2.5.1",
494
+ ]
495
+
496
+ [[package]]
497
+ name = "brotli"
498
+ version = "5.0.0"
499
+ source = "registry+https://github.com/rust-lang/crates.io-index"
500
+ checksum = "19483b140a7ac7174d34b5a581b406c64f84da5409d3e09cf4fff604f9270e67"
501
+ dependencies = [
502
+ "alloc-no-stdlib",
503
+ "alloc-stdlib",
504
+ "brotli-decompressor 4.0.0",
505
  ]
506
 
507
  [[package]]
 
514
  "alloc-stdlib",
515
  ]
516
 
517
+ [[package]]
518
+ name = "brotli-decompressor"
519
+ version = "4.0.0"
520
+ source = "registry+https://github.com/rust-lang/crates.io-index"
521
+ checksum = "e6221fe77a248b9117d431ad93761222e1cf8ff282d9d1d5d9f53d6299a1cf76"
522
+ dependencies = [
523
+ "alloc-no-stdlib",
524
+ "alloc-stdlib",
525
+ ]
526
+
527
  [[package]]
528
  name = "bstr"
529
  version = "1.9.1"
 
4461
 
4462
  [[package]]
4463
  name = "websurfx"
4464
+ version = "1.17.0"
4465
  dependencies = [
4466
  "actix-cors",
4467
  "actix-files",
Cargo.toml CHANGED
@@ -1,6 +1,6 @@
1
  [package]
2
  name = "websurfx"
3
- version = "1.12.1"
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"
@@ -133,6 +133,50 @@ codegen-units = 1
133
  rpath = false
134
  strip = "symbols"
135
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  [features]
137
  use-synonyms-search = ["thesaurus/static"]
138
  default = ["memory-cache"]
 
1
  [package]
2
  name = "websurfx"
3
+ version = "1.17.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"
 
133
  rpath = false
134
  strip = "symbols"
135
 
136
+ [profile.bsr1]
137
+ inherits = "release"
138
+ opt-level = "s"
139
+
140
+ [profile.bsr2]
141
+ inherits = "bsr1"
142
+ opt-level = "z"
143
+
144
+ [profile.lpcb1]
145
+ inherits = "release"
146
+ codegen-units = 16
147
+
148
+ [profile.lpcb2]
149
+ inherits = "lpcb1"
150
+ lto = "off"
151
+
152
+ [profile.lpcb3]
153
+ inherits = "lpcb2"
154
+ opt-level = 2
155
+
156
+ [profile.bsr_and_lpcb1]
157
+ inherits = "lpcb1"
158
+ opt-level = "s"
159
+
160
+ [profile.bsr_and_lpcb2]
161
+ inherits = "lpcb2"
162
+ opt-level = "s"
163
+
164
+ [profile.bsr_and_lpcb3]
165
+ inherits = "lpcb3"
166
+ opt-level = "s"
167
+
168
+ [profile.bsr_and_lpcb4]
169
+ inherits = "lpcb1"
170
+ opt-level = "z"
171
+
172
+ [profile.bsr_and_lpcb5]
173
+ inherits = "lpcb1"
174
+ opt-level = "z"
175
+
176
+ [profile.bsr_and_lpcb6]
177
+ inherits = "lpcb1"
178
+ opt-level = "z"
179
+
180
  [features]
181
  use-synonyms-search = ["thesaurus/static"]
182
  default = ["memory-cache"]