# 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"
rust-version = "1.85"
name = "rgfile"
version = "0.10.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fast, robust CLI for GigaFile.nu: resumable segmented downloads, streaming uploads, and share management."
readme = "README.md"
keywords = [
    "gigafile",
    "upload",
    "download",
    "file-transfer",
    "cli",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/Maymall/gigafile-rust-cli"

[package.metadata.deb]
maintainer = "Maymall <282547878+Maymall@users.noreply.github.com>"
copyright = "2026, Maymall. MIT."
license-file = [
    "LICENSE",
    "0",
]
extended-description = "rgfile is a fast, robust command-line client for GigaFile.nu. It supports resumable single-file and multi-file downloads with atomic completion, correct UTF-8 filenames decoded from Content-Disposition, and streaming chunked uploads with per-chunk retry."
depends = ""
assets = [
    [
    "target/release/rgfile",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/rgfile/README.md",
    "644",
],
]

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

[[bin]]
name = "rgfile"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.clap]
version = "4.5.23"
features = ["derive"]

[dependencies.clap_complete]
version = "4.5.44"

[dependencies.directories]
version = "6.0.0"

[dependencies.flate2]
version = "1.1.2"

[dependencies.fs2]
version = "0.4.3"

[dependencies.futures-util]
version = "0.3.31"

[dependencies.indicatif]
version = "0.17.11"

[dependencies.libc]
version = "0.2.186"

[dependencies.regex]
version = "1.11.1"

[dependencies.reqwest]
version = "0.12.22"
features = [
    "rustls-tls",
    "cookies",
    "stream",
    "gzip",
    "json",
    "multipart",
]
default-features = false

[dependencies.rpassword]
version = "7.4.0"

[dependencies.scraper]
version = "0.23.1"

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tar]
version = "0.4.44"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.45.1"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
    "io-util",
    "time",
    "signal",
]

[dependencies.tokio-util]
version = "0.7.16"
features = ["io"]

[dependencies.toml]
version = "1.1.2"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"
features = ["env-filter"]

[dependencies.uuid]
version = "1.18.1"
features = [
    "v4",
    "fast-rng",
]

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

[dev-dependencies.assert_cmd]
version = "2.0.17"

[dev-dependencies.insta]
version = "1.43.1"

[dev-dependencies.predicates]
version = "3.1.3"

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

[dev-dependencies.wiremock]
version = "=0.6.3"
