Spaces:
Runtime error
Runtime error
Merge pull request #183 from alamin655/rolling
Browse files🔧 Gitpod configuration to improve developer experience
- .gitpod.Dockerfile +3 -0
- .gitpod.yml +20 -14
- Cargo.lock +13 -13
- Cargo.toml +1 -1
.gitpod.Dockerfile
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
FROM gitpod/workspace-rust
|
2 |
+
|
3 |
+
RUN sudo install-packages redis-server nodejs npm
|
.gitpod.yml
CHANGED
@@ -1,23 +1,25 @@
|
|
1 |
---
|
2 |
-
image:
|
|
|
|
|
3 |
# Commands that will run on workspace start
|
4 |
tasks:
|
5 |
-
- name:
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
# vscode IDE setup
|
16 |
vscode:
|
17 |
extensions:
|
18 |
- vadimcn.vscode-lldb
|
19 |
- cschleiden.vscode-github-actions
|
20 |
-
- rust-lang.rust
|
21 |
- bungcip.better-toml
|
22 |
- serayuzgur.crates
|
23 |
- usernamehw.errorlens
|
@@ -26,13 +28,17 @@ vscode:
|
|
26 |
- stylelint.vscode-stylelint
|
27 |
- dbaeumer.vscode-eslint
|
28 |
- evgeniypeshkov.syntax-highlighter
|
29 |
-
- redhat.vscode-yaml
|
30 |
- ms-azuretools.vscode-docker
|
31 |
- Catppuccin.catppuccin-vsc
|
32 |
- PKief.material-icon-theme
|
33 |
- oderwat.indent-rainbow
|
34 |
- formulahendry.auto-rename-tag
|
|
|
|
|
|
|
|
|
35 |
- eamodio.gitlens
|
|
|
36 |
github:
|
37 |
prebuilds:
|
38 |
master: true
|
@@ -40,5 +46,5 @@ github:
|
|
40 |
pullRequests: true
|
41 |
pullRequestsFromForks: true
|
42 |
addCheck: true
|
43 |
-
addComment: false
|
44 |
addBadge: true
|
|
|
1 |
---
|
2 |
+
image:
|
3 |
+
file: .gitpod.Dockerfile
|
4 |
+
|
5 |
# Commands that will run on workspace start
|
6 |
tasks:
|
7 |
+
- name: Start Redis Server
|
8 |
+
command: redis-server --port 8082
|
9 |
+
- name: Run The App
|
10 |
+
init: cargo build
|
11 |
+
command: PKG_ENV=dev ./target/release/websurfx
|
12 |
+
- name: Tests
|
13 |
+
command: cargo test
|
14 |
+
- name: Clippy Checks
|
15 |
+
command: cargo clippy
|
16 |
+
|
17 |
# vscode IDE setup
|
18 |
vscode:
|
19 |
extensions:
|
20 |
- vadimcn.vscode-lldb
|
21 |
- cschleiden.vscode-github-actions
|
22 |
+
- rust-lang.rust-analyzer
|
23 |
- bungcip.better-toml
|
24 |
- serayuzgur.crates
|
25 |
- usernamehw.errorlens
|
|
|
28 |
- stylelint.vscode-stylelint
|
29 |
- dbaeumer.vscode-eslint
|
30 |
- evgeniypeshkov.syntax-highlighter
|
|
|
31 |
- ms-azuretools.vscode-docker
|
32 |
- Catppuccin.catppuccin-vsc
|
33 |
- PKief.material-icon-theme
|
34 |
- oderwat.indent-rainbow
|
35 |
- formulahendry.auto-rename-tag
|
36 |
+
- swellaby.vscode-rust-test-adapter
|
37 |
+
- belfz.search-crates-io
|
38 |
+
- hbenl.test-adapter-converter
|
39 |
+
- hbenl.vscode-test-explorer
|
40 |
- eamodio.gitlens
|
41 |
+
|
42 |
github:
|
43 |
prebuilds:
|
44 |
master: true
|
|
|
46 |
pullRequests: true
|
47 |
pullRequestsFromForks: true
|
48 |
addCheck: true
|
49 |
+
addComment: false
|
50 |
addBadge: true
|
Cargo.lock
CHANGED
@@ -2090,9 +2090,9 @@ dependencies = [
|
|
2090 |
|
2091 |
[[package]]
|
2092 |
name = "pin-project-lite"
|
2093 |
-
version = "0.2.
|
2094 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2095 |
-
checksum = "
|
2096 |
|
2097 |
[[package]]
|
2098 |
name = "pin-utils"
|
@@ -2391,9 +2391,9 @@ dependencies = [
|
|
2391 |
|
2392 |
[[package]]
|
2393 |
name = "regex"
|
2394 |
-
version = "1.9.
|
2395 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2396 |
-
checksum = "
|
2397 |
dependencies = [
|
2398 |
"aho-corasick",
|
2399 |
"memchr",
|
@@ -2403,9 +2403,9 @@ dependencies = [
|
|
2403 |
|
2404 |
[[package]]
|
2405 |
name = "regex-automata"
|
2406 |
-
version = "0.3.
|
2407 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2408 |
-
checksum = "
|
2409 |
dependencies = [
|
2410 |
"aho-corasick",
|
2411 |
"memchr",
|
@@ -2539,9 +2539,9 @@ dependencies = [
|
|
2539 |
|
2540 |
[[package]]
|
2541 |
name = "rustix"
|
2542 |
-
version = "0.38.
|
2543 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2544 |
-
checksum = "
|
2545 |
dependencies = [
|
2546 |
"bitflags 2.3.3",
|
2547 |
"errno",
|
@@ -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.32",
|
@@ -3534,7 +3534,7 @@ dependencies = [
|
|
3534 |
|
3535 |
[[package]]
|
3536 |
name = "websurfx"
|
3537 |
-
version = "0.16.
|
3538 |
dependencies = [
|
3539 |
"actix-cors",
|
3540 |
"actix-files",
|
|
|
2090 |
|
2091 |
[[package]]
|
2092 |
name = "pin-project-lite"
|
2093 |
+
version = "0.2.11"
|
2094 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2095 |
+
checksum = "2c516611246607d0c04186886dbb3a754368ef82c79e9827a802c6d836dd111c"
|
2096 |
|
2097 |
[[package]]
|
2098 |
name = "pin-utils"
|
|
|
2391 |
|
2392 |
[[package]]
|
2393 |
name = "regex"
|
2394 |
+
version = "1.9.3"
|
2395 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2396 |
+
checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
|
2397 |
dependencies = [
|
2398 |
"aho-corasick",
|
2399 |
"memchr",
|
|
|
2403 |
|
2404 |
[[package]]
|
2405 |
name = "regex-automata"
|
2406 |
+
version = "0.3.6"
|
2407 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2408 |
+
checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
|
2409 |
dependencies = [
|
2410 |
"aho-corasick",
|
2411 |
"memchr",
|
|
|
2539 |
|
2540 |
[[package]]
|
2541 |
name = "rustix"
|
2542 |
+
version = "0.38.7"
|
2543 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2544 |
+
checksum = "172891ebdceb05aa0005f533a6cbfca599ddd7d966f6f5d4d9b2e70478e70399"
|
2545 |
dependencies = [
|
2546 |
"bitflags 2.3.3",
|
2547 |
"errno",
|
|
|
2684 |
|
2685 |
[[package]]
|
2686 |
name = "serde"
|
2687 |
+
version = "1.0.182"
|
2688 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2689 |
+
checksum = "bdb30a74471f5b7a1fa299f40b4bf1be93af61116df95465b2b5fc419331e430"
|
2690 |
dependencies = [
|
2691 |
"serde_derive",
|
2692 |
]
|
2693 |
|
2694 |
[[package]]
|
2695 |
name = "serde_derive"
|
2696 |
+
version = "1.0.182"
|
2697 |
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2698 |
+
checksum = "6f4c2c6ea4bc09b5c419012eafcdb0fcef1d9119d626c8f3a0708a5b92d38a70"
|
2699 |
dependencies = [
|
2700 |
"proc-macro2 1.0.66",
|
2701 |
"quote 1.0.32",
|
|
|
3534 |
|
3535 |
[[package]]
|
3536 |
name = "websurfx"
|
3537 |
+
version = "0.16.4"
|
3538 |
dependencies = [
|
3539 |
"actix-cors",
|
3540 |
"actix-files",
|
Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
-
version = "0.16.
|
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"
|
|
|
1 |
[package]
|
2 |
name = "websurfx"
|
3 |
+
version = "0.16.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"
|