2023-04-22 07:35:07 -04:00
[ package ]
name = "websurfx"
2023-10-09 13:09:12 -04:00
version = "1.0.11"
2023-04-22 07:35:07 -04:00
edition = "2021"
2023-06-05 05:30:14 -04:00
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."
repository = "https://github.com/neon-mmd/websurfx"
license = "AGPL-3.0"
2023-04-22 07:35:07 -04:00
2023-10-14 10:18:22 -04:00
[ [ bin ] ]
name = "websurfx"
test = true
bench = false
path = "src/bin/websurfx.rs"
2023-04-22 07:35:07 -04:00
[ dependencies ]
2023-10-14 10:18:22 -04:00
reqwest = { version = "0.11.21" , default-features = false , features = [ "json" , "rustls-tls" ] }
2023-08-27 14:10:36 -04:00
tokio = { version = "1.32.0" , features = [ "rt-multi-thread" , "macros" ] }
2023-09-02 10:55:58 -04:00
serde = { version = "1.0.188" , features = [ "derive" ] }
handlebars = { version = "4.4.0" , features = [ "dir_source" ] }
2023-08-19 05:27:00 -04:00
scraper = { version = "0.17.1" }
2023-09-02 10:55:58 -04:00
actix-web = { version = "4.4.0" , features = [ "cookies" ] }
2023-04-22 07:35:07 -04:00
actix-files = { version = "0.6.2" }
2023-08-03 10:44:13 -04:00
actix-cors = { version = "0.6.4" }
2023-08-19 05:27:00 -04:00
serde_json = { version = "1.0.105" }
2023-08-19 03:25:58 -04:00
fake-useragent = { version = "0.1.3" }
2023-05-02 04:58:21 -04:00
env_logger = { version = "0.10.0" }
2023-08-19 05:27:00 -04:00
log = { version = "0.4.20" }
2023-10-02 23:32:57 -04:00
mlua = { version = "0.9.1" , features = [ "luajit" , "vendored" ] }
2023-09-12 16:14:54 -04:00
redis = { version = "0.23.3" , features = [ "tokio-comp" , "connection-manager" ] , optional = true }
2023-08-19 03:25:58 -04:00
md5 = { version = "0.7.0" }
rand = { version = "0.8.5" }
2023-08-19 05:27:00 -04:00
once_cell = { version = "1.18.0" }
2023-08-29 13:52:56 -04:00
error-stack = { version = "0.4.0" }
2023-08-19 05:27:00 -04:00
async-trait = { version = "0.1.73" }
2023-09-02 10:55:58 -04:00
regex = { version = "1.9.4" , features = [ "perf" ] }
2023-08-27 14:10:36 -04:00
smallvec = { version = "1.11.0" , features = [ "union" , "serde" ] }
futures = { version = "0.3.28" }
dhat = { version = "0.3.2" , optional = true }
2023-08-29 13:16:51 -04:00
mimalloc = { version = "0.1.38" , default-features = false }
async-once-cell = { version = "0.5.3" }
2023-09-11 13:02:09 -04:00
actix-governor = { version = "0.4.1" }
2023-09-12 16:14:54 -04:00
mini-moka = { version = "0.10" , optional = true }
2023-06-01 05:25:36 -04:00
[ dev-dependencies ]
rusty-hook = "^0.11.2"
2023-06-25 05:27:35 -04:00
criterion = "0.5.1"
2023-08-24 05:10:40 -04:00
tempfile = "3.8.0"
2023-06-05 05:30:14 -04:00
[ profile . dev ]
opt-level = 0
debug = true
split-debuginfo = '...'
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[ profile . release ]
opt-level = 3
2023-08-27 14:10:36 -04:00
debug = false # This should only be commented when testing with dhat profiler
# debug = 1 # This should only be uncommented when testing with dhat profiler
2023-06-05 05:30:14 -04:00
split-debuginfo = '...'
debug-assertions = false
overflow-checks = false
2023-08-30 12:05:38 -04:00
lto = true
2023-08-22 12:23:39 -04:00
panic = 'abort'
2023-06-05 05:30:14 -04:00
incremental = false
2023-08-30 12:05:38 -04:00
codegen-units = 1
2023-06-05 05:30:14 -04:00
rpath = false
strip = "debuginfo"
2023-08-27 14:10:36 -04:00
[ features ]
2023-09-13 17:19:44 -04:00
default = [ "memory-cache" ]
2023-08-27 14:10:36 -04:00
dhat-heap = [ "dep:dhat" ]
2023-09-13 17:19:44 -04:00
memory-cache = [ "dep:mini-moka" ]
redis-cache = [ "dep:redis" ]