aria2-protocol 0.2.3

Multi-protocol networking stack for aria2-rust: HTTP/HTTPS client, FTP/SFTP, full BitTorrent (DHT/PEX/MSE), and Metalink V3/V4 parser
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 = "aria2-protocol"
version = "0.2.3"
authors = ["aria2-rust contributors"]
build = false
include = [
    "src/**/*",
    "../README.md",
    "../LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-protocol networking stack for aria2-rust: HTTP/HTTPS client, FTP/SFTP, full BitTorrent (DHT/PEX/MSE), and Metalink V3/V4 parser"
homepage = "https://github.com/balovess/aria2_rust/"
documentation = "https://docs.rs/aria2-protocol"
readme = "README.md"
keywords = [
    "http",
    "ftp",
    "bittorrent",
    "metalink",
    "dht",
]
categories = [
    "network-programming",
    "web-programming::http-client",
]
license = "GPL-2.0-or-later"
repository = "https://github.com/balovess/aria2_rust/"
resolver = "2"

[features]
bittorrent = []
default = []
http = []
metalink = []
sftp = []

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.aws-lc-rs]
version = "1"
features = ["prebuilt-nasm"]

[dependencies.base32]
version = "0.5"

[dependencies.base64]
version = "0.21"

[dependencies.bitflags]
version = "2.4"

[dependencies.bytes]
version = "1.5"

[dependencies.digest]
version = "0.10"

[dependencies.dirs]
version = "5"

[dependencies.flate2]
version = "1.0"

[dependencies.futures]
version = "0.3"

[dependencies.getrandom]
version = "0.2"

[dependencies.hex]
version = "0.4"

[dependencies.md5]
version = "0.7"

[dependencies.num-bigint-dig]
version = "0.8"

[dependencies.num-traits]
version = "0.2"

[dependencies.quick-xml]
version = "0.31"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "rustls",
    "gzip",
    "brotli",
    "socks",
    "http2",
]
default-features = false

[dependencies.russh]
version = "0.59"
features = ["ring"]

[dependencies.rustls]
version = "0.21"

[dependencies.rustls-pemfile]
version = "1.0"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.sha1]
version = "0.10"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2.5"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "async_tokio",
]

[dev-dependencies.mockito]
version = "1.4"

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