# 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 = "baidu-netdisk-sdk"
version = "0.1.6"
authors = ["CC"]
build = false
exclude = [
    ".git/*",
    ".github/*",
    "target/*",
    "docs/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for Baidu NetDisk Open Platform API"
documentation = "https://docs.rs/baidu-netdisk-sdk"
readme = "README.md"
keywords = [
    "baidu",
    "netdisk",
    "cloud-storage",
    "sdk",
    "api",
]
categories = [
    "api-bindings",
    "asynchronous",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/creayhx/baidu-netdisk-sdk"

[lib]
name = "baidu_netdisk_sdk"
crate-type = ["rlib"]
path = "src/lib.rs"

[[example]]
name = "auth_flow"
path = "examples/auth_flow.rs"

[[example]]
name = "category"
path = "examples/category.rs"

[[example]]
name = "category_list"
path = "examples/category_list.rs"

[[example]]
name = "download"
path = "examples/download.rs"

[[example]]
name = "download_compare"
path = "examples/download_compare.rs"

[[example]]
name = "file"
path = "examples/file.rs"

[[example]]
name = "list_all"
path = "examples/list_all.rs"

[[example]]
name = "playlist"
path = "examples/playlist.rs"

[[example]]
name = "quota"
path = "examples/quota.rs"

[[example]]
name = "search"
path = "examples/search.rs"

[[example]]
name = "token_check"
path = "examples/token_check.rs"

[[example]]
name = "token_refresh"
path = "examples/token_refresh.rs"

[[example]]
name = "token_test"
path = "examples/token_test.rs"

[[example]]
name = "upload_bytes"
path = "examples/upload_bytes.rs"

[[example]]
name = "upload_file"
path = "examples/upload_file.rs"

[[example]]
name = "upload_file_options"
path = "examples/upload_file_options.rs"

[[example]]
name = "upload_precreate"
path = "examples/upload_precreate.rs"

[[example]]
name = "upload_reader"
path = "examples/upload_reader.rs"

[[example]]
name = "user_info"
path = "examples/user_info.rs"

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

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

[dependencies.dotenv]
version = "0.15"

[dependencies.env_logger]
version = "0.11"

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4.29"

[dependencies.md5]
version = "0.8"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "native-tls",
    "form",
    "stream",
    "multipart",
]

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.url]
version = "2.3"

[dependencies.urlencoding]
version = "2.1"
