# 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-pull"
version = "5.0.2"
authors = [
    "share121 <me@s121.top>",
    "Cyan Changes <contact@cyans.me>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pull everything fast"
homepage = "https://github.com/fast-down/core"
documentation = "https://docs.rs/fast-pull"
readme = "README.md"
keywords = [
    "concurrency",
    "fast",
    "multiplex",
    "parallel",
    "performance",
]
categories = [
    "asynchronous",
    "concurrency",
    "no-std",
]
license = "MIT"
repository = "https://github.com/fast-down/core"

[features]
file = [
    "dep:memmap2",
    "tokio/fs",
]
mem = []

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

[dependencies.bytes]
version = "1.7.1"

[dependencies.crossfire]
version = "3.0"

[dependencies.fast-steal]
version = "6.5"

[dependencies.futures]
version = "0.3"

[dependencies.memmap2]
version = "0.9"
optional = true

[dependencies.parking_lot]
version = "0.12"

[dependencies.tokio]
version = "1.39"
features = [
    "macros",
    "rt",
    "sync",
    "time",
]

[dev-dependencies.tempfile]
version = "3.1"

[dev-dependencies.tokio]
version = "1.39"
features = [
    "io-util",
    "rt-multi-thread",
]

[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
