Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub committed Aug 19, 2024
1 parent 38a212b commit f3f30f1
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 50 deletions.
85 changes: 38 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jieba-rs = "0.7.0"
latex2mathml = "0.2.3"
mozjpeg = "0.10.9"
nanoid = "0.4.0"
pulldown-cmark = { version = "0.11.0", features = ["simd", "html"], default-features = false }
pulldown-cmark = { version = "0.12.0", features = ["simd", "html"], default-features = false }
rand = "0.8"
regex = "1"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "socks"] }
Expand All @@ -45,7 +45,7 @@ syntect = { version = "5", features = ["regex-fancy", "default-syntaxes", "defau
tantivy = "0.22.0"
thiserror = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
tower = { version = "0.4", features = ["timeout"] }
tower = { version = "0.5.0", features = ["timeout"] }
tower-http = { version = "0.5.1", features = ["fs", "compression-br", "trace"] }
tracing = { version = "0.1", features = ["release_max_level_info", "max_level_info"] }
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
Expand Down
2 changes: 1 addition & 1 deletion src/controller/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use ring::digest::{Context, SHA1_FOR_LEGACY_USE_ONLY};
use serde::Deserialize;
use sled::Batch;
use tokio::fs::{self, remove_file};
use tracing::log::error;
use tracing::error;

#[derive(Deserialize)]
pub(crate) struct UploadPicParams {
Expand Down

0 comments on commit f3f30f1

Please sign in to comment.