fast-down-api 0.1.1

A convenient and easy-to-use FFI wrapper for fast-down
Documentation
# 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-api"
version = "0.1.1"
authors = [
    "share121 <me@s121.top>",
    "Cyan Changes <contact@cyans.me>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A convenient and easy-to-use FFI wrapper for fast-down"
homepage = "https://fd.s121.top"
documentation = "https://docs.rs/fast-down-api"
readme = "README.md"
keywords = [
    "concurrency",
    "downloader",
    "parallel",
    "performance",
    "thread",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/fast-down/core"

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

[[example]]
name = "download"
path = "examples/download.rs"

[[example]]
name = "plan"
path = "examples/plan.rs"

[[example]]
name = "plan_resume"
path = "examples/plan_resume.rs"

[[test]]
name = "resume"
path = "tests/resume.rs"

[dependencies.anyhow]
version = "1.0.103"

[dependencies.chrono]
version = "0.4.45"

[dependencies.crossfire]
version = "3.0"

[dependencies.fast-down]
version = "6.0.1"
features = [
    "cookie-store",
    "fast-puller",
    "file",
    "getifaddrs",
    "reqwest-tls",
    "serde",
]

[dependencies.file_alloc]
version = "0.2"

[dependencies.humantime-serde]
version = "1"

[dependencies.inherit-config]
version = "0.2.2"

[dependencies.parking_lot]
version = "0.12"

[dependencies.path_helper]
version = "0.1.10"
features = [
    "auto_ext",
    "sanitize",
    "tokio",
]

[dependencies.reqwest]
version = "0.13.4"
features = [
    "brotli",
    "default-tls",
    "deflate",
    "gzip",
    "http2",
    "socks",
    "system-proxy",
    "zstd",
    "cookies",
]
default-features = false

[dependencies.serde]
version = "1.0.228"
features = ["serde_derive"]

[dependencies.soft-canonicalize]
version = "0.5.6"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.39"

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

[dependencies.toml]
version = "1.1.2"

[dependencies.url]
version = "2.5.8"
features = ["serde"]

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.bytes]
version = "1.7.1"

[dev-dependencies.futures]
version = "0.3"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server",
    "http1",
]

[dev-dependencies.tokio]
version = "1.39"
features = ["full"]

[lints.clippy]
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