-
Notifications
You must be signed in to change notification settings - Fork 17
/
Cargo.toml
103 lines (92 loc) · 2.84 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "dropbox-sdk"
version = "0.18.1"
authors = ["Bill Fraser <wfraser@dropbox.com>"]
edition = "2018"
description = "Rust bindings to the Dropbox API, generated by Stone from the official spec."
categories = ["api-bindings"]
keywords = ["dropbox", "sdk", "cloud", "storage"]
repository = "https://github.com/dropbox/dropbox-sdk-rust"
license = "Apache-2.0"
readme = "README.md"
[package.metadata]
# Keep this at least 1 year old.
msrv = "1.65.0" # Nov 3, 2022
[dependencies]
atty = "0.2.14"
base64 = "0.22"
log = "0.4"
ring = "0.17"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
url = "2.1"
[dependencies.ureq]
version = "2.0.0"
optional = true
default-features = false
features = ["tls"]
[dev-dependencies]
env_logger = "0.10"
chrono = "0.4"
parallel_reader = "0.1"
threadpool = "1.8"
[[example]]
name = "demo"
required-features = ["dbx_files", "default_client"]
[[example]]
name = "large-file-upload"
required-features = ["dbx_files", "default_client"]
[features]
# dbx_* features each correspond to one Stone spec file.
# The lists of dependencies must be kept in sync with the 'import' statements in them.
dbx_account = ["dbx_common"]
dbx_async = []
dbx_auth = ["dbx_common"]
dbx_check = ["dbx_common"]
dbx_common = []
dbx_contacts = ["dbx_common"]
dbx_file_properties = []
dbx_file_requests = ["dbx_common", "dbx_files"]
dbx_files = ["dbx_async", "dbx_auth", "dbx_common", "dbx_file_properties", "dbx_users_common"]
dbx_openid = ["dbx_common"]
dbx_paper = ["dbx_common", "dbx_sharing"]
dbx_secondary_emails = ["dbx_common"]
dbx_seen_state = []
dbx_sharing = ["dbx_async", "dbx_common", "dbx_files", "dbx_seen_state", "dbx_team_common", "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_async", "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_common"]
default_client = ["ureq"]
# Enable unstable ("preview") API routes.
unstable = []
# Include everything by default.
default = [
"dbx_account",
"dbx_async",
"dbx_auth",
"dbx_check",
"dbx_common",
"dbx_contacts",
"dbx_file_properties",
"dbx_file_requests",
"dbx_files",
"dbx_openid",
"dbx_paper",
"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",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]