Skip to content

Commit

Permalink
fix bilibili danmaku
Browse files Browse the repository at this point in the history
  • Loading branch information
THMonster committed Sep 29, 2023
1 parent 92ce901 commit 0a07fd1
Show file tree
Hide file tree
Showing 6 changed files with 296 additions and 133 deletions.
112 changes: 108 additions & 4 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 @@ -11,15 +11,14 @@ tokio = { version = "1", features = ["full"] }
# webpki-roots = "*"
# tokio-tungstenite = { version = "0.18", features = ["rustls-tls"] }
tokio-tungstenite = { version = "0.18", features = ["native-tls-vendored"] }
reqwest = { version = "0.11", default-features = false, features = ["brotli", "deflate", "gzip", "json", "native-tls-vendored"] }
reqwest = { version = "0.11", default-features = false, features = ["brotli", "deflate", "gzip", "json", "native-tls-vendored", "cookies"] }
log = "0.4"
env_logger = "0.10"
clap = { version = "4", features = ["derive"] }
serde_json = "1.0"
serde = { version = "1", features = ["derive"] }
bincode = "1.3"
rand = "0.8"
flate2 = { version = "1.0", features = [] }
regex = "1.7"
fancy-regex = "0.11"
uuid = { version = "1.3", features = ["v4"] }
Expand All @@ -43,6 +42,7 @@ ring = "*"
cbc = "*"
aes = "*"
sqlx = { version = "0.6", features = ["runtime-tokio-rustls", "sqlite"] }
async-compression = { version = "0.4", features = ["tokio", "deflate", "brotli"] }

[profile.release]
panic = 'abort'
Expand Down
6 changes: 4 additions & 2 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
edition = "2021"
indent_style = "Visual"
empty_item_single_line = false
# fn_args_layout = "Compressed"
imports_layout = "Vertical"
fn_params_layout = "Compressed"
# imports_layout = "Vertical"
max_width = 120
# use_small_heuristics = "Max"
chain_width = 120
fn_call_width = 60
attr_fn_like_width = 60
force_multiline_blocks = true
Loading

0 comments on commit 0a07fd1

Please sign in to comment.