diff --git a/Cargo.lock b/Cargo.lock index 10ced8e..9967ec6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -351,7 +351,7 @@ version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa" dependencies = [ - "brotli", + "brotli 5.0.0", "flate2", "futures-core", "memchr", @@ -490,7 +490,18 @@ checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", - "brotli-decompressor", + "brotli-decompressor 2.5.1", +] + +[[package]] +name = "brotli" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "19483b140a7ac7174d34b5a581b406c64f84da5409d3e09cf4fff604f9270e67" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", + "brotli-decompressor 4.0.0", ] [[package]] @@ -503,6 +514,16 @@ dependencies = [ "alloc-stdlib", ] +[[package]] +name = "brotli-decompressor" +version = "4.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6221fe77a248b9117d431ad93761222e1cf8ff282d9d1d5d9f53d6299a1cf76" +dependencies = [ + "alloc-no-stdlib", + "alloc-stdlib", +] + [[package]] name = "bstr" version = "1.9.1" @@ -4440,7 +4461,7 @@ dependencies = [ [[package]] name = "websurfx" -version = "1.12.1" +version = "1.17.0" dependencies = [ "actix-cors", "actix-files", diff --git a/Cargo.toml b/Cargo.toml index a07f7f7..fa2aebd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "websurfx" -version = "1.12.1" +version = "1.17.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" @@ -133,6 +133,50 @@ codegen-units = 1 rpath = false strip = "symbols" +[profile.bsr1] +inherits = "release" +opt-level = "s" + +[profile.bsr2] +inherits = "bsr1" +opt-level = "z" + +[profile.lpcb1] +inherits = "release" +codegen-units = 16 + +[profile.lpcb2] +inherits = "lpcb1" +lto = "off" + +[profile.lpcb3] +inherits = "lpcb2" +opt-level = 2 + +[profile.bsr_and_lpcb1] +inherits = "lpcb1" +opt-level = "s" + +[profile.bsr_and_lpcb2] +inherits = "lpcb2" +opt-level = "s" + +[profile.bsr_and_lpcb3] +inherits = "lpcb3" +opt-level = "s" + +[profile.bsr_and_lpcb4] +inherits = "lpcb1" +opt-level = "z" + +[profile.bsr_and_lpcb5] +inherits = "lpcb1" +opt-level = "z" + +[profile.bsr_and_lpcb6] +inherits = "lpcb1" +opt-level = "z" + [features] use-synonyms-search = ["thesaurus/static"] default = ["memory-cache"]