# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "fast-down-ffi"
version = "0.1.4"
authors = ["share121 <2854631158@qq.com>"]
build = false
exclude = ["/.github"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "这个库旨在提供一个合适、易于使用的 fast-down 包装"
homepage = "https://github.com/fast-down/ffi"
documentation = "https://docs.rs/fast-down-ffi"
readme = "README.md"
keywords = [
    "concurrency",
    "downloader",
    "parallel",
    "performance",
    "thread",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/fast-down/ffi"

[features]
serde = [
    "dep:serde",
    "fast-down/serde",
]

[lib]
name = "fast_down_ffi"
path = "src/lib.rs"

[dependencies.crossfire]
version = "3.1.4"

[dependencies.fast-down]
version = "3.8.1"
features = ["utils"]

[dependencies.parking_lot]
version = "0.12.5"

[dependencies.reqwest]
version = "0.13.2"
default-features = false

[dependencies.serde]
version = "1.0.228"
optional = true

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"

[dependencies.tokio-util]
version = "0.7.18"

[dependencies.url]
version = "2.5.8"

[lints.clippy]
missing_errors_doc = "allow"
multiple_crate_versions = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1
