# 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 = "thufs"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shell-first THU Cloud Drive CLI"
readme = "README.md"
keywords = [
    "thufs",
    "seafile",
    "cli",
    "tsinghua",
    "cloud-drive",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/class-undefined/thufs"

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.indicatif]
version = "0.17"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1.43"
features = [
    "fs",
    "macros",
    "rt-multi-thread",
]

[dependencies.url]
version = "=2.5.0"

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

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

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