Update dependencies

This commit is contained in:
Jordan Doyle 2023-11-27 20:14:54 +00:00
parent c2678219d8
commit 47552a638a
No known key found for this signature in database
GPG key ID: 1EA6BAE6F66DC49A
4 changed files with 813 additions and 702 deletions

View file

@ -170,10 +170,10 @@ async fn show_paste(
async fn highlight_css() -> HttpResponse {
static CSS: Lazy<Bytes> = Lazy::new(|| {
highlight::BAT_ASSETS.with(|s| {
Bytes::from(css_for_theme_with_class_style(
s.get_theme("OneHalfDark"),
ClassStyle::Spaced,
))
Bytes::from(
css_for_theme_with_class_style(s.get_theme("OneHalfDark"), ClassStyle::Spaced)
.unwrap(),
)
})
});