XFFXFF commited on
Commit
fad1fd3
2 Parent(s): 851b144 2cdfadc

Merge pull request #98 from neon-mmd/optimise-releases

Browse files

Optimize build profiles for development and production use

Files changed (1) hide show
  1. Cargo.toml +28 -2
Cargo.toml CHANGED
@@ -2,8 +2,9 @@
2
  name = "websurfx"
3
  version = "0.12.0"
4
  edition = "2021"
5
-
6
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
7
 
8
  [dependencies]
9
  reqwest = {version="*",features=["json"]}
@@ -25,3 +26,28 @@ once_cell = {version="*"}
25
 
26
  [dev-dependencies]
27
  rusty-hook = "^0.11.2"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  name = "websurfx"
3
  version = "0.12.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="*",features=["json"]}
 
26
 
27
  [dev-dependencies]
28
  rusty-hook = "^0.11.2"
29
+
30
+ [profile.dev]
31
+ opt-level = 0
32
+ debug = true
33
+ split-debuginfo = '...'
34
+ debug-assertions = true
35
+ overflow-checks = true
36
+ lto = false
37
+ panic = 'unwind'
38
+ incremental = true
39
+ codegen-units = 256
40
+ rpath = false
41
+
42
+ [profile.release]
43
+ opt-level = 3
44
+ debug = false
45
+ split-debuginfo = '...'
46
+ debug-assertions = false
47
+ overflow-checks = false
48
+ lto = 'thin'
49
+ panic = 'unwind'
50
+ incremental = false
51
+ codegen-units = 16
52
+ rpath = false
53
+ strip = "debuginfo"