# 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 = "mangofetch-core"
version = "0.3.1"
authors = ["Jules Martins <TU_ID+julesklord@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core download engine for MangoFetch"
readme = "README.md"
keywords = [
    "mangofetch",
    "downloader",
    "engine",
    "video",
]
categories = ["multimedia"]
license = "GPL-3.0-or-later"
repository = "https://github.com/julesklord/mangofetch-cli"

[features]
default = ["desktop"]
desktop = []
manager = []
mobile = []
platforms = [
    "librqbit",
    "which",
]

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

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

[dependencies.aes]
version = "0.8"

[dependencies.anyhow]
version = "1"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.cbc]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "6"

[dependencies.filetime]
version = "0.2.27"

[dependencies.futures]
version = "0.3"

[dependencies.librqbit]
version = "8.1.1"
optional = true

[dependencies.m3u8-rs]
version = "6"

[dependencies.open]
version = "5"

[dependencies.rand]
version = "0.8"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "cookies",
    "stream",
    "http2",
    "gzip",
    "brotli",
    "deflate",
    "rustls-tls",
]
default-features = false

[dependencies.sanitize-filename]
version = "0.6"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.tar]
version = "0.4"

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

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

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
    "registry",
]

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.url]
version = "2"

[dependencies.urlencoding]
version = "2"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.which]
version = "6"
optional = true

[dependencies.xz2]
version = "0.1"

[dependencies.zip]
version = "2"
features = ["deflate"]
default-features = false
