remove unnecessary nightly features and precompression deps

This commit is contained in:
slonkazoid 2024-04-23 23:12:31 +03:00
parent 964bae736f
commit 2c7fef312a
Signed by: slonk
SSH key fingerprint: SHA256:tbZfJX4IOvZ0LGWOWu5Ijo8jfMPi78TU7x1VoEeCIjM
3 changed files with 2 additions and 5 deletions

1
Cargo.lock generated
View file

@ -360,7 +360,6 @@ version = "0.1.0"
dependencies = [ dependencies = [
"askama", "askama",
"askama_axum", "askama_axum",
"async-compression",
"axum 0.7.5", "axum 0.7.5",
"bitcode", "bitcode",
"chrono", "chrono",

View file

@ -5,9 +5,8 @@ edition = "2021"
default-run = "bingus-blog" default-run = "bingus-blog"
[features] [features]
default = ["precompression"] default = []
tokio-console = ["dep:console-subscriber"] tokio-console = ["dep:console-subscriber"]
precompression = ["dep:async-compression"]
[profile.release] [profile.release]
lto = "fat" lto = "fat"
@ -18,7 +17,6 @@ strip = true
[dependencies] [dependencies]
askama = { version = "0.12.1", features = ["with-axum"] } askama = { version = "0.12.1", features = ["with-axum"] }
askama_axum = "0.4.0" askama_axum = "0.4.0"
async-compression = { version = "0.4.8", optional = true }
axum = { version = "0.7.5", features = ["macros"] } axum = { version = "0.7.5", features = ["macros"] }
bitcode = { version = "0.6.0", features = ["serde"] } bitcode = { version = "0.6.0", features = ["serde"] }
chrono = { version = "0.4.37", features = ["serde"] } chrono = { version = "0.4.37", features = ["serde"] }

View file

@ -1,4 +1,4 @@
#![feature(let_chains, stmt_expr_attributes, proc_macro_hygiene)] #![feature(let_chains)]
mod config; mod config;
mod error; mod error;