[package]
edition = "2024"
rust-version = "1.85.0"
name = "dropbox-sdk"
version = "0.20.0"
authors = ["Bill Fraser <wfraser@dropbox.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings to the Dropbox API, generated by Stone from the official spec."
readme = "README.md"
keywords = [
"dropbox",
"sdk",
"cloud",
"storage",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/dropbox/dropbox-sdk-rust"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
async_routes = []
dbx_account = [
"dbx_account_id",
"dbx_common",
]
dbx_account_id = []
dbx_async = ["dbx_common"]
dbx_auth = ["dbx_common"]
dbx_check = ["dbx_common"]
dbx_common = []
dbx_contacts = ["dbx_common"]
dbx_file_properties = ["dbx_common"]
dbx_file_requests = [
"dbx_common",
"dbx_files",
]
dbx_files = [
"dbx_async",
"dbx_common",
"dbx_file_properties",
"dbx_users_common",
]
dbx_openid = [
"dbx_account_id",
"dbx_common",
]
dbx_paper = [
"dbx_common",
"dbx_files",
"dbx_sharing",
]
dbx_riviera = [
"dbx_async",
"dbx_common",
]
dbx_secondary_emails = ["dbx_common"]
dbx_seen_state = []
dbx_sharing = [
"dbx_account_id",
"dbx_async",
"dbx_common",
"dbx_files",
"dbx_seen_state",
"dbx_team_common",
"dbx_team_policies",
"dbx_users",
"dbx_users_common",
]
dbx_team = [
"dbx_account",
"dbx_async",
"dbx_common",
"dbx_file_properties",
"dbx_files",
"dbx_secondary_emails",
"dbx_team_common",
"dbx_team_policies",
"dbx_users",
"dbx_users_common",
]
dbx_team_common = ["dbx_common"]
dbx_team_log = [
"dbx_common",
"dbx_file_requests",
"dbx_files",
"dbx_sharing",
"dbx_team",
"dbx_team_common",
"dbx_team_policies",
"dbx_users_common",
]
dbx_team_policies = []
dbx_users = [
"dbx_common",
"dbx_team_common",
"dbx_team_policies",
"dbx_users_common",
]
dbx_users_common = [
"dbx_account_id",
"dbx_common",
]
default = [
"dbx_account",
"dbx_account_id",
"dbx_async",
"dbx_auth",
"dbx_check",
"dbx_common",
"dbx_contacts",
"dbx_file_properties",
"dbx_file_requests",
"dbx_files",
"dbx_openid",
"dbx_paper",
"dbx_riviera",
"dbx_secondary_emails",
"dbx_seen_state",
"dbx_sharing",
"dbx_team",
"dbx_team_common",
"dbx_team_log",
"dbx_team_policies",
"dbx_users",
"dbx_users_common",
"default_client",
"sync_routes",
"sync_routes_in_root",
]
default_async_client = [
"async_routes",
"dep:reqwest",
]
default_client = [
"sync_routes",
"sync_routes_in_root",
"dep:ureq",
]
sync_routes = []
sync_routes_in_root = ["sync_routes"]
unstable = []
[lib]
name = "dropbox_sdk"
path = "src/lib.rs"
[[example]]
name = "demo"
path = "examples/demo.rs"
required-features = [
"dbx_files",
"default_client",
]
[[example]]
name = "demo-async"
path = "examples/demo-async.rs"
required-features = [
"dbx_files",
"default_async_client",
]
[[example]]
name = "large-file-upload"
path = "examples/large-file-upload.rs"
required-features = [
"dbx_files",
"default_client",
]
[[test]]
name = "async_client_test"
path = "tests/async_client_test.rs"
[[test]]
name = "benchmark"
path = "tests/benchmark.rs"
[[test]]
name = "compatibility"
path = "tests/compatibility.rs"
[[test]]
name = "generated_tests"
path = "tests/generated_tests.rs"
[[test]]
name = "json"
path = "tests/json.rs"
[[test]]
name = "list_folder_recursive"
path = "tests/list_folder_recursive.rs"
[[test]]
name = "noop_client"
path = "tests/noop_client.rs"
[[test]]
name = "path_root"
path = "tests/path_root.rs"
[[test]]
name = "sync_client_test"
path = "tests/sync_client_test.rs"
[dependencies.async-lock]
version = "3.3.0"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.6.0"
[dependencies.futures]
version = "0.3.30"
features = ["std"]
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.reqwest]
version = "0.13"
features = [
"http2",
"rustls",
"stream",
]
optional = true
default-features = false
[dependencies.ring]
version = "0.17"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.thiserror]
version = "2.0"
[dependencies.ureq]
version = "3.0.4"
features = ["rustls"]
optional = true
default-features = false
[dependencies.url]
version = "2.1"
[dev-dependencies.chrono]
version = "0.4"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.parallel_reader]
version = "0.1"
[dev-dependencies.threadpool]
version = "1.8"
[dev-dependencies.tokio]
version = "1.37.0"
features = [
"rt-multi-thread",
"macros",
"io-std",
]
[dev-dependencies.tokio-util]
version = "0.7.10"
features = ["compat"]
default-features = false