Skip to content

Commit fb5960c

Browse files
author
share121
committed
feat: 返回原文件名,给用户自行处理
1 parent b942084 commit fb5960c

File tree

19 files changed

+199
-728
lines changed

19 files changed

+199
-728
lines changed

Cargo.lock

Lines changed: 2 additions & 163 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/fast-down/Cargo.toml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "fast-down"
33
description = "Fast Down Multiplex and Demultiplexes library"
4-
version = "3.0.0"
4+
version = "3.1.0"
55
readme = "README.md"
66
documentation = "https://docs.rs/fast-down"
77
keywords = ["download", "fast", "parallel", "concurrency"]
@@ -17,33 +17,16 @@ fast-pull.workspace = true
1717
futures.workspace = true
1818
url.workspace = true
1919
content_disposition = { version = "0.4.0", optional = true }
20-
sanitize-filename = { version = "0.6.0", optional = true }
2120
urlencoding = { version = "2.1.3", optional = true }
2221
bytes.workspace = true
2322
reqwest = { version = "0.12.22", default-features = false, features = [
2423
"stream",
2524
], optional = true }
26-
curl = { git = "https://github.com/fast-down/curl-rust", version = "0.5.0", optional = true }
2725
kanal.workspace = true
28-
slab = "0.4.11"
29-
oneshot = "0.1.11"
30-
anyhow = "1.0.99"
31-
atomic-wait = { version = "1.1.0", optional = true }
32-
33-
[[bin]]
34-
name = "libcurl-main"
35-
required-features = ["curl"]
36-
path = "curl.rs"
3726

3827
[features]
3928
default = ["reqwest"]
40-
reqwest = [
41-
"dep:reqwest",
42-
"dep:content_disposition",
43-
"dep:sanitize-filename",
44-
"dep:urlencoding",
45-
]
46-
curl = ["dep:curl", "dep:atomic-wait"]
29+
reqwest = ["dep:reqwest", "dep:content_disposition", "dep:urlencoding"]
4730

4831
[dev-dependencies]
4932
tokio = { version = "1.47.1", features = [

crates/fast-down/curl.rs

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)