data-source 0.1.5

a simple crate that fetches data from different sources
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 = "2021"
name = "data-source"
version = "0.1.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "a simple crate that fetches data from different sources"
homepage = "https://github.com/e1732a364fed/data-source"
readme = "README.md"
keywords = ["clash"]
categories = ["data-structures"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/e1732a364fed/data-source"

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

[dependencies.astral-tokio-tar]
version = "0.5"
optional = true

[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.http-body-util]
version = "0.1.2"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.mime_guess]
version = "2"
optional = true

[dependencies.reqwest]
version = "0.12"
features = [
    "blocking",
    "rustls-tls",
]
optional = true
default-features = false

[dependencies.tar]
version = "0.4"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tower]
version = "0.4"
features = ["util"]
optional = true

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

[features]
default = [
    "reqwest",
    "tokio-tar",
]
file_server = [
    "axum",
    "tower",
    "futures-util",
    "http-body-util",
    "mime_guess",
]
tokio = [
    "futures",
    "async-trait",
    "dep:tokio",
]
tokio-tar = [
    "tokio",
    "tar",
    "dep:astral-tokio-tar",
]