neon_arch
build: optimise build profiles and add necessary information under package section
39da8e8
[package] | |
name = "websurfx" | |
version = "0.12.0" | |
edition = "2021" | |
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" | |
[dependencies] | |
reqwest = {version="*",features=["json"]} | |
tokio = {version="*",features=["full"]} | |
serde = {version="*",features=["derive"]} | |
handlebars = { version = "4.3.6", features = ["dir_source"] } | |
scraper = {version="*"} | |
actix-web = {version="4.3.1"} | |
actix-files = {version="0.6.2"} | |
serde_json = {version="*"} | |
fake-useragent = {version="*"} | |
env_logger = {version="0.10.0"} | |
log = {version="0.4.17"} | |
rlua = {version="*"} | |
redis = {version="*"} | |
md5 = {version="*"} | |
rand={version="*"} | |
once_cell = {version="*"} | |
[dev-dependencies] | |
rusty-hook = "^0.11.2" | |
[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 | |
debug = false | |
split-debuginfo = '...' | |
debug-assertions = false | |
overflow-checks = false | |
lto = 'thin' | |
panic = 'unwind' | |
incremental = false | |
codegen-units = 16 | |
rpath = false | |
strip = "debuginfo" | |